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

Unified Diff: chrome/browser/spellchecker/spellcheck_action_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/spellcheck_action_unittest.cc
diff --git a/chrome/browser/spellchecker/spellcheck_action_unittest.cc b/chrome/browser/spellchecker/spellcheck_action_unittest.cc
index 5fd45225235c6349185183b7cf8caa70f62ecfea..ce3a86dce782f62c22ca9592180e25cf41cc97f8 100644
--- a/chrome/browser/spellchecker/spellcheck_action_unittest.cc
+++ b/chrome/browser/spellchecker/spellcheck_action_unittest.cc
@@ -56,29 +56,33 @@ TEST(SpellcheckActionTest, SerializeTest) {
std::string expected;
} kTestCases[] = {
{ SpellcheckAction(
- SpellcheckAction::TYPE_ADD_TO_DICT, -1, ASCIIToUTF16("nothing")),
+ SpellcheckAction::TYPE_ADD_TO_DICT, -1,
+ base::ASCIIToUTF16("nothing")),
"{\"actionType\": \"ADD_TO_DICT\"}" },
{ SpellcheckAction(
- SpellcheckAction::TYPE_IGNORE, -1, ASCIIToUTF16("nothing")),
+ SpellcheckAction::TYPE_IGNORE, -1, base::ASCIIToUTF16("nothing")),
"{\"actionType\": \"IGNORE\"}" },
{ SpellcheckAction(
- SpellcheckAction::TYPE_IN_DICTIONARY, -1, ASCIIToUTF16("nothing")),
+ SpellcheckAction::TYPE_IN_DICTIONARY, -1,
+ base::ASCIIToUTF16("nothing")),
"{\"actionType\": \"IN_DICTIONARY\"}" },
{ SpellcheckAction(
- SpellcheckAction::TYPE_MANUALLY_CORRECTED, -1, ASCIIToUTF16("hello")),
+ SpellcheckAction::TYPE_MANUALLY_CORRECTED, -1,
+ base::ASCIIToUTF16("hello")),
"{\"actionTargetValue\": \"hello\","
"\"actionType\": \"MANUALLY_CORRECTED\"}" },
{ SpellcheckAction(
- SpellcheckAction::TYPE_NO_ACTION, -1, ASCIIToUTF16("nothing")),
+ SpellcheckAction::TYPE_NO_ACTION, -1, base::ASCIIToUTF16("nothing")),
"{\"actionType\": \"NO_ACTION\"}" },
{ SpellcheckAction(
- SpellcheckAction::TYPE_PENDING, -1, ASCIIToUTF16("nothing")),
+ SpellcheckAction::TYPE_PENDING, -1, base::ASCIIToUTF16("nothing")),
"{\"actionType\": \"PENDING\"}" },
{ SpellcheckAction(
- SpellcheckAction::TYPE_PENDING_IGNORE, -1, ASCIIToUTF16("nothing")),
+ SpellcheckAction::TYPE_PENDING_IGNORE, -1,
+ base::ASCIIToUTF16("nothing")),
"{\"actionType\": \"PENDING\"}" },
{ SpellcheckAction(
- SpellcheckAction::TYPE_SELECT, 42, ASCIIToUTF16("nothing")),
+ SpellcheckAction::TYPE_SELECT, 42, base::ASCIIToUTF16("nothing")),
"{\"actionTargetIndex\": 42, \"actionType\": \"SELECT\"}" },
};
for (size_t i = 0; i < kNumTestCases; ++i) {
« no previous file with comments | « chrome/browser/spellchecker/misspelling_unittest.cc ('k') | chrome/browser/spellchecker/spellcheck_host_metrics_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698