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

Unified Diff: chrome_elf/blacklist/crashpad_helper.cc

Issue 2114533002: Switch chrome_elf exception handling from breakpad to crashpad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add dependencies on the chrome_elf_common target in the blacklist target. Previously this came in i… 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
« no previous file with comments | « chrome_elf/blacklist/crashpad_helper.h ('k') | chrome_elf/breakpad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/blacklist/crashpad_helper.cc
diff --git a/chrome_elf/blacklist/crashpad_helper.cc b/chrome_elf/blacklist/crashpad_helper.cc
new file mode 100644
index 0000000000000000000000000000000000000000..e1a1ef83cb39d09202adcdba955648217d601d00
--- /dev/null
+++ b/chrome_elf/blacklist/crashpad_helper.cc
@@ -0,0 +1,13 @@
+// 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.
+
+#include "chrome_elf/blacklist/crashpad_helper.h"
+
+#include "third_party/crashpad/crashpad/client/crashpad_client.h"
+
+int GenerateCrashDump(EXCEPTION_POINTERS* exception_pointers) {
+ crashpad::CrashpadClient::DumpWithoutCrash(
+ *(exception_pointers->ContextRecord));
+ return EXCEPTION_CONTINUE_SEARCH;
+}
« no previous file with comments | « chrome_elf/blacklist/crashpad_helper.h ('k') | chrome_elf/breakpad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698