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

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

Issue 3173020: FBTF: Remove unneeded #includes of <string> and <vector> from src/app and src/base. (Closed)
Patch Set: argh Created 10 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
« no previous file with comments | « base/i18n/number_formatting.h ('k') | base/observer_list_threadsafe.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_WORD_ITERATOR_H_ 5 #ifndef BASE_I18N_WORD_ITERATOR_H_
6 #define BASE_I18N_WORD_ITERATOR_H_ 6 #define BASE_I18N_WORD_ITERATOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string>
10 #include <vector> 9 #include <vector>
11 10
12 #include "unicode/ubrk.h" 11 #include "unicode/ubrk.h"
13 #include "unicode/uchar.h" 12 #include "unicode/uchar.h"
14 13
15 #include "base/basictypes.h" 14 #include "base/basictypes.h"
16 #include "base/string16.h" 15 #include "base/string16.h"
17 16
18 // The WordIterator class iterates through the words and word breaks 17 // The WordIterator class iterates through the words and word breaks
19 // in a string. (In the string " foo bar! ", the word breaks are at the 18 // in a string. (In the string " foo bar! ", the word breaks are at the
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // The breaking style (word/line). 80 // The breaking style (word/line).
82 BreakType break_type_; 81 BreakType break_type_;
83 82
84 // Previous and current iterator positions. 83 // Previous and current iterator positions.
85 size_t prev_, pos_; 84 size_t prev_, pos_;
86 85
87 DISALLOW_COPY_AND_ASSIGN(WordIterator); 86 DISALLOW_COPY_AND_ASSIGN(WordIterator);
88 }; 87 };
89 88
90 #endif // BASE_I18N_WORD_ITERATOR_H__ 89 #endif // BASE_I18N_WORD_ITERATOR_H__
OLDNEW
« no previous file with comments | « base/i18n/number_formatting.h ('k') | base/observer_list_threadsafe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698