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

Unified Diff: chrome/browser/profiles/profile_manager.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/diagnostics/diagnostics_test.cc ('k') | chrome/browser/profiles/profile_manager_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.cc
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index e81b0e5214d9e62f8131a9cef3f8be58a8039e3c..743fafbd150893e1b084eb31e93c1cf1d0b42cd8 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -73,8 +73,8 @@ ProfileManager::~ProfileManager() {
FilePath ProfileManager::GetDefaultProfileDir(
const FilePath& user_data_dir) {
FilePath default_profile_dir(user_data_dir);
- default_profile_dir = default_profile_dir.Append(
- FilePath::FromWStringHack(chrome::kNotSignedInProfile));
+ default_profile_dir =
+ default_profile_dir.AppendASCII(chrome::kNotSignedInProfile);
return default_profile_dir;
}
@@ -103,8 +103,8 @@ FilePath ProfileManager::GetCurrentProfileDir() {
return relative_profile_dir;
}
#endif
- relative_profile_dir = relative_profile_dir.Append(
- FilePath::FromWStringHack(chrome::kNotSignedInProfile));
+ relative_profile_dir =
+ relative_profile_dir.AppendASCII(chrome::kNotSignedInProfile);
return relative_profile_dir;
}
« no previous file with comments | « chrome/browser/diagnostics/diagnostics_test.cc ('k') | chrome/browser/profiles/profile_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698