Index: chrome/browser/chrome_browser_main_linux.cc |
diff --git a/chrome/browser/chrome_browser_main_linux.cc b/chrome/browser/chrome_browser_main_linux.cc |
index d45ee7984d9193d48124bb23796b223181da1eb9..fe95885568a4a860ace1878b2b45cba94c7adb65 100644 |
--- a/chrome/browser/chrome_browser_main_linux.cc |
+++ b/chrome/browser/chrome_browser_main_linux.cc |
@@ -56,6 +56,13 @@ void ChromeBrowserMainPartsLinux::PreProfileInit() { |
media::AudioManager::SetGlobalAppName( |
l10n_util::GetStringUTF8(IDS_SHORT_PRODUCT_NAME)); |
+#if !defined(OS_CHROMEOS) |
+ // Forward to os_crypt the flag to use a specific password store. |
+ std::string password_store = |
+ parsed_command_line().GetSwitchValueASCII(switches::kPasswordStore); |
+ OSCrypt::SetStore(password_store); |
+#endif |
+ |
ChromeBrowserMainPartsPosix::PreProfileInit(); |
} |
@@ -64,13 +71,6 @@ void ChromeBrowserMainPartsLinux::PostProfileInit() { |
g_browser_process->metrics_service()->RecordBreakpadRegistration( |
breakpad::IsCrashReporterEnabled()); |
- |
-#if !defined(OS_CHROMEOS) |
- // Forward to os_crypt the flag to use a specific password store. |
- std::string password_store = |
- parsed_command_line().GetSwitchValueASCII(switches::kPasswordStore); |
- OSCrypt::SetStore(password_store); |
-#endif |
} |
void ChromeBrowserMainPartsLinux::PostMainMessageLoopStart() { |