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

Unified Diff: chrome/browser/chrome_browser_main_linux.cc

Issue 2118443002: Forward password-store switch to OSCrypt component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed order of calling superclass method Created 4 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698