blob: d834ede6ca4caffba1ed10c512e5a798f1cf560f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// 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_
#define BASE_I18N_CASE_CONVERSION_
#pragma once
#include <string>
#include "base/string16.h"
namespace base {
namespace i18n {
// Returns the lower case equivalent of string. Uses ICU's default locale.
string16 ToLower(const string16& string);
std::wstring WideToLower(const std::wstring& string);
// Returns the upper case equivalent of string. Uses ICU's default locale.
string16 ToUpper(const string16& string);
std::wstring WideToUpper(const std::wstring& string);
} // namespace i18n
} // namespace base
#endif // BASE_I18N_CASE_CONVERSION_
|