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

Unified Diff: chrome_elf/breakpad.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/breakpad.h
diff --git a/chrome_elf/breakpad.h b/chrome_elf/breakpad.h
deleted file mode 100644
index 8067708b6479eb179e75c78e89df915df08af626..0000000000000000000000000000000000000000
--- a/chrome_elf/breakpad.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2014 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_BREAKPAD_H_
-#define CHROME_ELF_BREAKPAD_H_
-
-#include <windows.h>
-
-namespace google_breakpad {
-class ExceptionHandler;
-}
-
-// Initializes collection and upload of crash reports. This will only be done if
-// the user has agreed to crash dump reporting.
-//
-// Crash reporting has to be initialized as early as possible (e.g., the first
-// thing in main()) to catch crashes occuring during process startup.
-// Crashes which occur during the global static construction phase will not
-// be caught and reported. This should not be a problem as static non-POD
-// objects are not allowed by the style guide and exceptions to this rule are
-// rare.
-void InitializeCrashReporting();
-
-// Generates a crashdump for the provided |exinfo|. This crashdump will be
-// either be saved locally, or uploaded, depending on how the ExceptionHandler
-// has been configured.
-int GenerateCrashDump(EXCEPTION_POINTERS* exinfo);
-
-// Global pointer to the ExceptionHandler. This is initialized by
-// InitializeCrashReporting() and used by GenerateCrashDump() to record dumps.
-extern google_breakpad::ExceptionHandler* g_elf_breakpad;
-
-#endif // CHROME_ELF_BREAKPAD_H_

Powered by Google App Engine
This is Rietveld 408576698