summaryrefslogtreecommitdiffstats
path: root/chrome/browser/encoding_menu_controller_unittest.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 22:23:40 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-04 22:23:40 +0000
commit41fc0320689c888625b5f13b5540a85590d6f830 (patch)
tree121dc85682d85da5eb8ff3ef645985a9bb61d635 /chrome/browser/encoding_menu_controller_unittest.cc
parentfe2c7f0cb1d2513e357f3c840bb1aa00739aafdf (diff)
downloadchromium_src-41fc0320689c888625b5f13b5540a85590d6f830.zip
chromium_src-41fc0320689c888625b5f13b5540a85590d6f830.tar.gz
chromium_src-41fc0320689c888625b5f13b5540a85590d6f830.tar.bz2
Convert std::wstring encoding names to std::string in a bunch of files.
BUG=8647 (http://crbug.com/8647) TEST=run unit_tests.exe and ui_tests.exe Original patch by Thiago Farina <thiago.farina@gmail.com> at http://codereview.chromium.org/179057/show Some linux related fixes by me. Review URL: http://codereview.chromium.org/192017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25529 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/encoding_menu_controller_unittest.cc')
-rw-r--r--chrome/browser/encoding_menu_controller_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/encoding_menu_controller_unittest.cc b/chrome/browser/encoding_menu_controller_unittest.cc
index a8258bd6..e7a7fef 100644
--- a/chrome/browser/encoding_menu_controller_unittest.cc
+++ b/chrome/browser/encoding_menu_controller_unittest.cc
@@ -58,7 +58,7 @@ TEST_F(EncodingMenuControllerTest, ListEncodingMenuItems) {
TEST_F(EncodingMenuControllerTest, IsItemChecked) {
TestingProfile profile_en;
- std::wstring encoding(L"UTF-8");
+ std::string encoding("UTF-8");
// Check that enabling and disabling autodetect works.
bool autodetect_enabed[] = {true, false};
@@ -86,7 +86,7 @@ TEST_F(EncodingMenuControllerTest, IsItemChecked) {
ASSERT_FALSE(on && encoding_is_enabled);
encoding_is_enabled |= on;
}
-
+
// Make sure at least one encoding is enabled.
ASSERT_TRUE(encoding_is_enabled);
}