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

Side by Side Diff: content/common/android/address_parser_internal.h

Issue 113403006: Update some uses of char16 to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_COMMON_ADDRESS_PARSER_INTERNAL_H_ 5 #ifndef CONTENT_COMMON_ADDRESS_PARSER_INTERNAL_H_
6 #define CONTENT_COMMON_ADDRESS_PARSER_INTERNAL_H_ 6 #define CONTENT_COMMON_ADDRESS_PARSER_INTERNAL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string_tokenizer.h" 10 #include "base/strings/string_tokenizer.h"
(...skipping 19 matching lines...) Expand all
30 // Exposed for tests. 30 // Exposed for tests.
31 class CONTENT_EXPORT HouseNumberParser { 31 class CONTENT_EXPORT HouseNumberParser {
32 public: 32 public:
33 HouseNumberParser() {} 33 HouseNumberParser() {}
34 34
35 bool Parse(const base::string16::const_iterator& begin, 35 bool Parse(const base::string16::const_iterator& begin,
36 const base::string16::const_iterator& end, 36 const base::string16::const_iterator& end,
37 Word* word); 37 Word* word);
38 38
39 private: 39 private:
40 static inline bool IsPreDelimiter(char16 character); 40 static inline bool IsPreDelimiter(base::char16 character);
41 static inline bool IsPostDelimiter(char16 character); 41 static inline bool IsPostDelimiter(base::char16 character);
42 inline void RestartOnNextDelimiter(); 42 inline void RestartOnNextDelimiter();
43 43
44 inline bool CheckFinished(Word* word) const; 44 inline bool CheckFinished(Word* word) const;
45 inline void AcceptChars(size_t num_chars); 45 inline void AcceptChars(size_t num_chars);
46 inline void SkipChars(size_t num_chars); 46 inline void SkipChars(size_t num_chars);
47 inline void ResetState(); 47 inline void ResetState();
48 48
49 // Iterators to the beginning, current position and ending of the string 49 // Iterators to the beginning, current position and ending of the string
50 // being currently parsed. 50 // being currently parsed.
51 base::string16::const_iterator begin_; 51 base::string16::const_iterator begin_;
(...skipping 25 matching lines...) Expand all
77 CONTENT_EXPORT bool IsZipValid(const Word& word, size_t state_index); 77 CONTENT_EXPORT bool IsZipValid(const Word& word, size_t state_index);
78 CONTENT_EXPORT bool IsZipValidForState(const Word& word, size_t state_index); 78 CONTENT_EXPORT bool IsZipValidForState(const Word& word, size_t state_index);
79 79
80 } // namespace internal 80 } // namespace internal
81 81
82 } // namespace address_parser 82 } // namespace address_parser
83 83
84 } // namespace content 84 } // namespace content
85 85
86 #endif // CONTENT_COMMON_ADDRESS_PARSER_INTERNAL_H_ 86 #endif // CONTENT_COMMON_ADDRESS_PARSER_INTERNAL_H_
OLDNEW
« no previous file with comments | « content/common/android/address_parser.cc ('k') | content/common/android/address_parser_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698