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

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

Issue 1542323002: Switch to standard integer types in base/i18n/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: header Created 4 years, 12 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
« no previous file with comments | « base/i18n/streaming_utf8_validator_unittest.cc ('k') | base/i18n/string_search.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_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 7
8 #include <stddef.h>
9
8 #include "base/i18n/base_i18n_export.h" 10 #include "base/i18n/base_i18n_export.h"
9 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
10 12
11 struct UStringSearch; 13 struct UStringSearch;
12 14
13 namespace base { 15 namespace base {
14 namespace i18n { 16 namespace i18n {
15 17
16 // Returns true if |in_this| contains |find_this|. If |match_index| or 18 // Returns true if |in_this| contains |find_this|. If |match_index| or
17 // |match_length| are non-NULL, they are assigned the start position and total 19 // |match_length| are non-NULL, they are assigned the start position and total
(...skipping 26 matching lines...) Expand all
44 46
45 private: 47 private:
46 string16 find_this_; 48 string16 find_this_;
47 UStringSearch* search_; 49 UStringSearch* search_;
48 }; 50 };
49 51
50 } // namespace i18n 52 } // namespace i18n
51 } // namespace base 53 } // namespace base
52 54
53 #endif // BASE_I18N_STRING_SEARCH_H_ 55 #endif // BASE_I18N_STRING_SEARCH_H_
OLDNEW
« no previous file with comments | « base/i18n/streaming_utf8_validator_unittest.cc ('k') | base/i18n/string_search.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698