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

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

Issue 3845002: Convert LOG(INFO) to VLOG(1) - base/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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/file_util_win.cc ('k') | base/i18n/word_iterator.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) 2010 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_CHAR_ITERATOR_H_ 5 #ifndef BASE_I18N_CHAR_ITERATOR_H_
6 #define BASE_I18N_CHAR_ITERATOR_H_ 6 #define BASE_I18N_CHAR_ITERATOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/string16.h" 12 #include "base/string16.h"
13 13
14 // The CharIterator classes iterate through the characters in UTF8 and 14 // The CharIterator classes iterate through the characters in UTF8 and
15 // UTF16 strings. Example usage: 15 // UTF16 strings. Example usage:
16 // 16 //
17 // UTF8CharIterator iter(&str); 17 // UTF8CharIterator iter(&str);
18 // while (!iter.End()) { 18 // while (!iter.End()) {
19 // LOG(INFO) << iter.get(); 19 // VLOG(1) << iter.get();
20 // iter.Advance(); 20 // iter.Advance();
21 // } 21 // }
22 22
23 #if defined(OS_WIN) 23 #if defined(OS_WIN)
24 typedef unsigned char uint8_t; 24 typedef unsigned char uint8_t;
25 #endif 25 #endif
26 26
27 namespace base { 27 namespace base {
28 28
29 class UTF8CharIterator { 29 class UTF8CharIterator {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 // The current character. 120 // The current character.
121 int32 char_; 121 int32 char_;
122 122
123 DISALLOW_COPY_AND_ASSIGN(UTF16CharIterator); 123 DISALLOW_COPY_AND_ASSIGN(UTF16CharIterator);
124 }; 124 };
125 125
126 } // namespace base 126 } // namespace base
127 127
128 #endif // BASE_I18N_CHAR_ITERATOR_H_ 128 #endif // BASE_I18N_CHAR_ITERATOR_H_
OLDNEW
« no previous file with comments | « base/file_util_win.cc ('k') | base/i18n/word_iterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698