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

Unified Diff: chrome/app/chrome_dll_main.cc

Issue 185007: Removes the deprecated version of PathService::Override (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 4 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 | « base/path_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_dll_main.cc
===================================================================
--- chrome/app/chrome_dll_main.cc (revision 25084)
+++ chrome/app/chrome_dll_main.cc (working copy)
@@ -503,8 +503,8 @@
#endif
// Notice a user data directory override if any
- const std::wstring user_data_dir =
- parsed_command_line.GetSwitchValue(switches::kUserDataDir);
+ const FilePath user_data_dir = FilePath::FromWStringHack(
+ parsed_command_line.GetSwitchValue(switches::kUserDataDir));
if (!user_data_dir.empty())
CHECK(PathService::Override(chrome::DIR_USER_DATA, user_data_dir));
« no previous file with comments | « base/path_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698