diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-24 20:27:04 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-24 20:27:04 +0000 |
commit | 5f0cebb46d66ef0a1996594d0846c0067a8cf475 (patch) | |
tree | 5b3204961a403e7396fe48b45930b5b6528839f0 /chrome/tools/convert_dict/convert_dict_unittest.cc | |
parent | 20023a76c3ffa049c35f86263fbf6ee4bbf00ade (diff) | |
download | chromium_src-5f0cebb46d66ef0a1996594d0846c0067a8cf475.zip chromium_src-5f0cebb46d66ef0a1996594d0846c0067a8cf475.tar.gz chromium_src-5f0cebb46d66ef0a1996594d0846c0067a8cf475.tar.bz2 |
Add utf_string_conversions to base namespace.
This adds "using"s for all functions so those can be fixed in a separate pass.
This converts the "Wide" versions of the functions in the Chrome directory as a first pass on the changeover.
BUG=
Review URL: https://codereview.chromium.org/12314090
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184352 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools/convert_dict/convert_dict_unittest.cc')
-rw-r--r-- | chrome/tools/convert_dict/convert_dict_unittest.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/tools/convert_dict/convert_dict_unittest.cc b/chrome/tools/convert_dict/convert_dict_unittest.cc index 17ce2ce..a7995d7 100644 --- a/chrome/tools/convert_dict/convert_dict_unittest.cc +++ b/chrome/tools/convert_dict/convert_dict_unittest.cc @@ -151,8 +151,8 @@ TEST(ConvertDictTest, English) { std::map<string16, bool> word_list; for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kWords); ++i) - word_list.insert(std::make_pair<string16, bool>(WideToUTF16(kWords[i]), - true)); + word_list.insert(std::make_pair<string16, bool>( + base::WideToUTF16(kWords[i]), true)); RunDictionaryTest(kCodepage, word_list); } @@ -173,8 +173,8 @@ TEST(ConvertDictTest, Russian) { std::map<string16, bool> word_list; for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kWords); ++i) - word_list.insert(std::make_pair<string16, bool>(WideToUTF16(kWords[i]), - true)); + word_list.insert(std::make_pair<string16, bool>( + base::WideToUTF16(kWords[i]), true)); RunDictionaryTest(kCodepage, word_list); } @@ -197,8 +197,8 @@ TEST(ConvertDictTest, Hungarian) { std::map<string16, bool> word_list; for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kWords); ++i) - word_list.insert(std::make_pair<string16, bool>(WideToUTF16(kWords[i]), - true)); + word_list.insert(std::make_pair<string16, bool>( + base::WideToUTF16(kWords[i]), true)); RunDictionaryTest(kCodepage, word_list); } |