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

Unified Diff: chrome/browser/profiles/profile_manager_unittest.cc

Issue 6695004: wstring: remove a needless wchar_t that is ASCII (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 months 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
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/shell_integration_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_manager_unittest.cc
diff --git a/chrome/browser/profiles/profile_manager_unittest.cc b/chrome/browser/profiles/profile_manager_unittest.cc
index 81c99bbaa905a1edb6e1a7b35b55c525bf65b9f6..42cd9c2510048a13f1011d852d661040f51d18ac 100644
--- a/chrome/browser/profiles/profile_manager_unittest.cc
+++ b/chrome/browser/profiles/profile_manager_unittest.cc
@@ -84,7 +84,7 @@ TEST_F(ProfileManagerTest, DefaultProfileDir) {
cl->AppendSwitch(switches::kTestType);
FilePath expected_default =
- FilePath::FromWStringHack(chrome::kNotSignedInProfile);
+ FilePath().AppendASCII(chrome::kNotSignedInProfile);
EXPECT_EQ(expected_default.value(),
profile_manager.GetCurrentProfileDir().value());
}
@@ -101,7 +101,7 @@ TEST_F(ProfileManagerTest, LoggedInProfileDir) {
cl->AppendSwitch(switches::kTestType);
FilePath expected_default =
- FilePath::FromWStringHack(chrome::kNotSignedInProfile);
+ FilePath().AppendASCII(chrome::kNotSignedInProfile);
EXPECT_EQ(expected_default.value(),
profile_manager.GetCurrentProfileDir().value());
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/shell_integration_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698