Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Side by Side Diff: base/i18n/case_conversion.h

Issue 7549003: Optimize phishing page term feature extraction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Brian's comments Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | base/i18n/case_conversion.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_I18N_CASE_CONVERSION_H_ 5 #ifndef BASE_I18N_CASE_CONVERSION_H_
6 #define BASE_I18N_CASE_CONVERSION_H_ 6 #define BASE_I18N_CASE_CONVERSION_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/string16.h" 9 #include "base/string_piece.h"
10 10
11 namespace base { 11 namespace base {
12 namespace i18n { 12 namespace i18n {
13 13
14 // Returns the lower case equivalent of string. Uses ICU's default locale. 14 // Returns the lower case equivalent of string. Uses ICU's default locale.
15 string16 ToLower(const string16& string); 15 string16 ToLower(const StringPiece16& string);
16 16
17 // Returns the upper case equivalent of string. Uses ICU's default locale. 17 // Returns the upper case equivalent of string. Uses ICU's default locale.
18 string16 ToUpper(const string16& string); 18 string16 ToUpper(const StringPiece16& string);
19 19
20 } // namespace i18n 20 } // namespace i18n
21 } // namespace base 21 } // namespace base
22 22
23 #endif // BASE_I18N_CASE_CONVERSION_H_ 23 #endif // BASE_I18N_CASE_CONVERSION_H_
OLDNEW
« no previous file with comments | « no previous file | base/i18n/case_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698