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

Unified Diff: components/crash/app/breakpad_win.cc

Issue 1008523002: Call RegisterCrashKeys for chrome.exe in static build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NOTREACHED. Created 5 years, 9 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 | « chrome/app/chrome_crash_reporter_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/app/breakpad_win.cc
diff --git a/components/crash/app/breakpad_win.cc b/components/crash/app/breakpad_win.cc
index 38020f447dc1341041bb3cce0d77907b49a389c9..fb752ec203ac2b797b108c7079835712e630b19c 100644
--- a/components/crash/app/breakpad_win.cc
+++ b/components/crash/app/breakpad_win.cc
@@ -541,8 +541,13 @@ void InitCrashReporter(const std::string& process_type_switch) {
base::CommandLine::ForCurrentProcess(),
GetCrashReporterClient());
+#if !defined(COMPONENT_BUILD)
+ // In a static build, the EXE must separately initialize the crash keys
+ // configuration.
Robert Sesek 2015/03/17 18:56:01 Copy over the comment about where the DLL initiali
erikwright (departed) 2015/03/17 19:01:34 Done.
base::debug::SetCrashKeyReportingFunctions(&SetCrashKeyValueForBaseDebug,
&ClearCrashKeyForBaseDebug);
+ GetCrashReporterClient()->RegisterCrashKeys();
+#endif
google_breakpad::ExceptionHandler::MinidumpCallback callback = NULL;
LPTOP_LEVEL_EXCEPTION_FILTER default_filter = NULL;
« no previous file with comments | « chrome/app/chrome_crash_reporter_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698