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

Unified Diff: chrome/app/chrome_crash_reporter_client.cc

Issue 1008523002: Call RegisterCrashKeys for chrome.exe in static build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert to patchset 1. 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 | « no previous file | components/crash/app/breakpad_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_crash_reporter_client.cc
diff --git a/chrome/app/chrome_crash_reporter_client.cc b/chrome/app/chrome_crash_reporter_client.cc
index 25769f6cba1c476d807fcfad9a4b638df5a021e7..71d99bf676f5aaf9858a589b5b3c417c0a3a3f24 100644
--- a/chrome/app/chrome_crash_reporter_client.cc
+++ b/chrome/app/chrome_crash_reporter_client.cc
@@ -321,9 +321,11 @@ bool ChromeCrashReporterClient::GetCrashDumpLocation(
}
size_t ChromeCrashReporterClient::RegisterCrashKeys() {
- // Note: This is not called on Windows because Breakpad is initialized in the
- // EXE module, but code that uses crash keys is in the DLL module.
- // RegisterChromeCrashKeys() will be called after the DLL is loaded.
+ // Note: On Windows this only affects the EXE. A separate invocation from
+ // child_process_logging_win.cc registers crash keys for Chrome.dll.
+ // Also note that, on Windows, this is not called in a component build, as in
+ // that case a single copy of 'base' is shared by the EXE and the various
+ // DLLs, and that copy is configured by child_process_logging_win.cc.
return crash_keys::RegisterChromeCrashKeys();
grt (UTC plus 2) 2015/03/17 02:59:31 for safety's sake, should this be #if defined(COMP
erikwright (departed) 2015/03/17 14:40:03 I think a NOTREACHED is more appropriate? The gua
}
« no previous file with comments | « no previous file | components/crash/app/breakpad_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698