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

Side by Side Diff: base/i18n/break_iterator.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 5 years 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/bidi_line_iterator.h ('k') | base/i18n/break_iterator.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_BREAK_ITERATOR_H_ 5 #ifndef BASE_I18N_BREAK_ITERATOR_H_
6 #define BASE_I18N_BREAK_ITERATOR_H_ 6 #define BASE_I18N_BREAK_ITERATOR_H_
7 7
8 #include "base/basictypes.h" 8 #include <stddef.h>
9
9 #include "base/i18n/base_i18n_export.h" 10 #include "base/i18n/base_i18n_export.h"
11 #include "base/macros.h"
10 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
11 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
12 14
13 // The BreakIterator class iterates through the words, word breaks, and 15 // The BreakIterator class iterates through the words, word breaks, and
14 // line breaks in a UTF-16 string. 16 // line breaks in a UTF-16 string.
15 // 17 //
16 // It provides several modes, BREAK_WORD, BREAK_LINE, and BREAK_NEWLINE, 18 // It provides several modes, BREAK_WORD, BREAK_LINE, and BREAK_NEWLINE,
17 // which modify how characters are aggregated into the returned string. 19 // which modify how characters are aggregated into the returned string.
18 // 20 //
19 // Under BREAK_WORD mode, once a word is encountered any non-word 21 // Under BREAK_WORD mode, once a word is encountered any non-word
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // Previous and current iterator positions. 173 // Previous and current iterator positions.
172 size_t prev_, pos_; 174 size_t prev_, pos_;
173 175
174 DISALLOW_COPY_AND_ASSIGN(BreakIterator); 176 DISALLOW_COPY_AND_ASSIGN(BreakIterator);
175 }; 177 };
176 178
177 } // namespace i18n 179 } // namespace i18n
178 } // namespace base 180 } // namespace base
179 181
180 #endif // BASE_I18N_BREAK_ITERATOR_H_ 182 #endif // BASE_I18N_BREAK_ITERATOR_H_
OLDNEW
« no previous file with comments | « base/i18n/bidi_line_iterator.h ('k') | base/i18n/break_iterator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698