diff options
Diffstat (limited to 'content/common/android/address_parser_unittest.cc')
-rw-r--r-- | content/common/android/address_parser_unittest.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/content/common/android/address_parser_unittest.cc b/content/common/android/address_parser_unittest.cc index 30497b2..1a8d17e 100644 --- a/content/common/android/address_parser_unittest.cc +++ b/content/common/android/address_parser_unittest.cc @@ -25,13 +25,13 @@ class AddressParserTest : public testing::Test { } std::string GetHouseNumber(const std::string& content) const { - string16 content_16 = UTF8ToUTF16(content); - string16 result; + base::string16 content_16 = UTF8ToUTF16(content); + base::string16 result; HouseNumberParser parser; Word word; if (parser.Parse(content_16.begin(), content_16.end(), &word)) - result = string16(word.begin, word.end); + result = base::string16(word.begin, word.end); return UTF16ToUTF8(result); } @@ -62,7 +62,7 @@ class AddressParserTest : public testing::Test { size_t state_index; EXPECT_TRUE(GetState(state, &state_index)); - string16 zip_16 = UTF8ToUTF16(zip); + base::string16 zip_16 = UTF8ToUTF16(zip); WordList words; TokenizeWords(zip_16, &words); EXPECT_TRUE(words.size() == 1); @@ -70,7 +70,7 @@ class AddressParserTest : public testing::Test { } bool IsLocationName(const std::string& street) const { - string16 street_16 = UTF8ToUTF16(street); + base::string16 street_16 = UTF8ToUTF16(street); WordList words; TokenizeWords(street_16, &words); EXPECT_TRUE(words.size() == 1); @@ -78,8 +78,8 @@ class AddressParserTest : public testing::Test { } std::string FindAddress(const std::string& content) const { - string16 content_16 = UTF8ToUTF16(content); - string16 result_16; + base::string16 content_16 = UTF8ToUTF16(content); + base::string16 result_16; size_t start, end; if (::FindAddress(content_16.begin(), content_16.end(), &start, &end)) result_16 = content_16.substr(start, end - start); |