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

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

Issue 10735044: Remove #pragma once. Just from base/ for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | « base/i18n/rtl.h ('k') | base/i18n/time_formatting.h » ('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_STRING_SEARCH_H_ 5 #ifndef BASE_I18N_STRING_SEARCH_H_
6 #define BASE_I18N_STRING_SEARCH_H_ 6 #define BASE_I18N_STRING_SEARCH_H_
7 #pragma once
8 7
9 #include "base/i18n/base_i18n_export.h" 8 #include "base/i18n/base_i18n_export.h"
10 #include "base/string16.h" 9 #include "base/string16.h"
11 10
12 namespace base { 11 namespace base {
13 namespace i18n { 12 namespace i18n {
14 13
15 // Returns true if |in_this| contains |find_this|. Only differences between base 14 // Returns true if |in_this| contains |find_this|. Only differences between base
16 // letters are taken into consideration. Case and accent differences are 15 // letters are taken into consideration. Case and accent differences are
17 // ignored. Please refer to 'primary level' in 16 // ignored. Please refer to 'primary level' in
18 // http://userguide.icu-project.org/collation/concepts for additional details. 17 // http://userguide.icu-project.org/collation/concepts for additional details.
19 BASE_I18N_EXPORT 18 BASE_I18N_EXPORT
20 bool StringSearchIgnoringCaseAndAccents(const string16& find_this, 19 bool StringSearchIgnoringCaseAndAccents(const string16& find_this,
21 const string16& in_this); 20 const string16& in_this);
22 21
23 } // namespace i18n 22 } // namespace i18n
24 } // namespace base 23 } // namespace base
25 24
26 #endif // BASE_I18N_STRING_SEARCH_H_ 25 #endif // BASE_I18N_STRING_SEARCH_H_
27 26
OLDNEW
« no previous file with comments | « base/i18n/rtl.h ('k') | base/i18n/time_formatting.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698