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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 1481933002: Move crash keys for command-line switches to components/crash so they can be set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@installer_crash_keys
Patch Set: Address review comments Created 5 years, 1 month 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
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 7efa965278b94c4616d9bc42093283aa4658da77..dd10bf3313c4e48dac98334c14ad0b207c7c366b 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -935,8 +935,8 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
// Reset the command line in the crash report details, since we may have
// just changed it to include experiments.
- crash_keys::SetSwitchesFromCommandLine(
- base::CommandLine::ForCurrentProcess());
+ crash_keys::SetCrashKeysFromCommandLine(
+ *base::CommandLine::ForCurrentProcess());
// Mac starts it earlier in |PreMainMessageLoopStart()| (because it is
// needed when loading the MainMenu.nib and the language doesn't depend on

Powered by Google App Engine
This is Rietveld 408576698