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

Unified Diff: content/common/android/address_parser_internal.h

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/android/address_parser_internal.h
diff --git a/content/common/android/address_parser_internal.h b/content/common/android/address_parser_internal.h
index f236afc2d485a47e690a0781c017b79f7848c635..74af6c388d4c12df24751f2dbb1d4935d66dfca9 100644
--- a/content/common/android/address_parser_internal.h
+++ b/content/common/android/address_parser_internal.h
@@ -19,12 +19,12 @@ namespace internal {
// Exposed for tests.
struct CONTENT_EXPORT Word {
- string16::const_iterator begin;
- string16::const_iterator end;
+ base::string16::const_iterator begin;
+ base::string16::const_iterator end;
Word() {}
- Word(const string16::const_iterator& begin,
- const string16::const_iterator& end);
+ Word(const base::string16::const_iterator& begin,
+ const base::string16::const_iterator& end);
};
// Exposed for tests.
@@ -32,8 +32,8 @@ class CONTENT_EXPORT HouseNumberParser {
public:
HouseNumberParser() {}
- bool Parse(const string16::const_iterator& begin,
- const string16::const_iterator& end,
+ bool Parse(const base::string16::const_iterator& begin,
+ const base::string16::const_iterator& end,
Word* word);
private:
@@ -48,9 +48,9 @@ class CONTENT_EXPORT HouseNumberParser {
// Iterators to the beginning, current position and ending of the string
// being currently parsed.
- string16::const_iterator begin_;
- string16::const_iterator it_;
- string16::const_iterator end_;
+ base::string16::const_iterator begin_;
+ base::string16::const_iterator it_;
+ base::string16::const_iterator end_;
// Number of digits found in the current result candidate.
size_t num_digits_;
@@ -63,7 +63,7 @@ class CONTENT_EXPORT HouseNumberParser {
};
typedef std::vector<Word> WordList;
-typedef base::StringTokenizerT<string16, string16::const_iterator>
+typedef base::StringTokenizerT<base::string16, base::string16::const_iterator>
String16Tokenizer;
// These are exposed for tests.
« 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