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

Unified Diff: chrome_elf/blacklist/crashpad_helper.h

Issue 2088133002: Switch chrome_elf exception handling from breakpad to crashpad. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Register crash keys only once in the process. Created 4 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: chrome_elf/blacklist/crashpad_helper.h
diff --git a/chrome_elf/blacklist/crashpad_helper.h b/chrome_elf/blacklist/crashpad_helper.h
new file mode 100644
index 0000000000000000000000000000000000000000..d5a781b60772aafe7f61ff66a2b5ea6480deb669
--- /dev/null
+++ b/chrome_elf/blacklist/crashpad_helper.h
@@ -0,0 +1,15 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_ELF_BLACKLIST_CRASHPAD_HELPER_H_
+#define CHROME_ELF_BLACKLIST_CRASHPAD_HELPER_H_
+
+#include <windows.h>
+
+// Exception handler for exceptions in chrome_elf which need to be passed on to
+// the next handler in the chain. Examples include exceptions in DllMain,
+// blacklist interception code, etc.
+int GenerateCrashDump(EXCEPTION_POINTERS* exception_pointers);
+
+#endif // CHROME_ELF_BLACKLIST_CRASHPAD_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698