blob: 14fef00c0fc03865006bf17d91406008c639c4fa [file] [log] [blame] [edit]
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_I18N_CASE_CONVERSION_H_
#define BASE_I18N_CASE_CONVERSION_H_
#include "base/i18n/base_i18n_export.h"
#include "base/string16.h"
#include "base/string_piece.h"
namespace base {
namespace i18n {
// Returns the lower case equivalent of string. Uses ICU's default locale.
BASE_I18N_EXPORT string16 ToLower(const StringPiece16& string);
// Returns the upper case equivalent of string. Uses ICU's default locale.
BASE_I18N_EXPORT string16 ToUpper(const StringPiece16& string);
} // namespace i18n
} // namespace base
#endif // BASE_I18N_CASE_CONVERSION_H_