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

Unified Diff: chrome/browser/spellchecker/misspelling_unittest.cc

Issue 120983002: Update some uses of UTF conversions in chrome/browser to use the base:: namespace. (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
Index: chrome/browser/spellchecker/misspelling_unittest.cc
diff --git a/chrome/browser/spellchecker/misspelling_unittest.cc b/chrome/browser/spellchecker/misspelling_unittest.cc
index 632b171708ac1be349c9da2626ad7f016dcf453d..bfc162854cec6c7bd96d382039551c74ad1b63a4 100644
--- a/chrome/browser/spellchecker/misspelling_unittest.cc
+++ b/chrome/browser/spellchecker/misspelling_unittest.cc
@@ -13,12 +13,12 @@
TEST(MisspellingTest, SerializeTest) {
Misspelling misspelling;
- misspelling.context = ASCIIToUTF16("How doe sit know");
+ misspelling.context = base::ASCIIToUTF16("How doe sit know");
misspelling.location = 4;
misspelling.length = 7;
misspelling.timestamp = base::Time::FromJsTime(42);
misspelling.hash = 9001;
- misspelling.suggestions.push_back(ASCIIToUTF16("does it"));
+ misspelling.suggestions.push_back(base::ASCIIToUTF16("does it"));
scoped_ptr<base::Value> expected(base::JSONReader::Read(
"{\"originalText\": \"How doe sit know\","
@@ -35,10 +35,10 @@ TEST(MisspellingTest, SerializeTest) {
TEST(MisspellingTest, GetMisspelledStringTest) {
Misspelling misspelling;
- misspelling.context = ASCIIToUTF16("How doe sit know");
+ misspelling.context = base::ASCIIToUTF16("How doe sit know");
misspelling.location = 4;
misspelling.length = 7;
- EXPECT_EQ(ASCIIToUTF16("doe sit"), misspelling.GetMisspelledString());
+ EXPECT_EQ(base::ASCIIToUTF16("doe sit"), misspelling.GetMisspelledString());
misspelling.length = 0;
EXPECT_EQ(base::string16(), misspelling.GetMisspelledString());
« no previous file with comments | « chrome/browser/spellchecker/misspelling.h ('k') | chrome/browser/spellchecker/spellcheck_action_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698