summaryrefslogtreecommitdiffstats
path: root/chrome/app/chrome_dll_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/app/chrome_dll_main.cc')
-rw-r--r--chrome/app/chrome_dll_main.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc
index ee05d82..02f554d 100644
--- a/chrome/app/chrome_dll_main.cc
+++ b/chrome/app/chrome_dll_main.cc
@@ -613,6 +613,12 @@ int ChromeMain(int argc, char** argv) {
app::RegisterPathProvider();
chrome::RegisterPathProvider();
+ // Notice a user data directory override if any
+ const FilePath user_data_dir =
+ parsed_command_line.GetSwitchValuePath(switches::kUserDataDir);
+ if (!user_data_dir.empty())
+ CHECK(PathService::Override(chrome::DIR_USER_DATA, user_data_dir));
+
#if defined(OS_MACOSX)
// TODO(mark): Right now, InitCrashReporter() needs to be called after
// CommandLine::Init() and chrome::RegisterPathProvider(). Ideally, Breakpad
@@ -700,12 +706,6 @@ int ChromeMain(int argc, char** argv) {
_Module.Init(NULL, instance);
#endif
- // Notice a user data directory override if any
- const FilePath user_data_dir =
- parsed_command_line.GetSwitchValuePath(switches::kUserDataDir);
- if (!user_data_dir.empty())
- CHECK(PathService::Override(chrome::DIR_USER_DATA, user_data_dir));
-
bool single_process =
#if defined (GOOGLE_CHROME_BUILD)
// This is an unsupported and not fully tested mode, so don't enable it for