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

Unified Diff: components/crash/content/app/crashpad.cc

Issue 2909623002: Change DumpProcessWithoutCrash to use load-time dynamic linking (Closed)
Patch Set: rebase Created 3 years, 6 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
Index: components/crash/content/app/crashpad.cc
diff --git a/components/crash/content/app/crashpad.cc b/components/crash/content/app/crashpad.cc
index ba04da14fe4f193efbd08c883cb7623e6335a63d..d93652b9409fe2ac5c01c2b76701a65b4b5cce15 100644
--- a/components/crash/content/app/crashpad.cc
+++ b/components/crash/content/app/crashpad.cc
@@ -194,6 +194,10 @@ void InitializeCrashpadImpl(bool initial_client,
} // namespace
+void (*GetDumpWithoutCrashingFunction())() {
+ return DumpWithoutCrashing;
scottmg 2017/06/16 00:26:24 And, then instead of having this return a function
+}
+
void InitializeCrashpad(bool initial_client, const std::string& process_type) {
InitializeCrashpadImpl(initial_client, process_type, std::string(), false);
}

Powered by Google App Engine
This is Rietveld 408576698