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

Unified Diff: chrome/app/breakpad_win.h

Issue 53075: First stab at Mac breakpad support. (Closed)
Patch Set: Address John's comments Created 11 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 | « chrome/app/breakpad_mac.mm ('k') | chrome/app/breakpad_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/breakpad_win.h
diff --git a/chrome/app/breakpad_win.h b/chrome/app/breakpad_win.h
new file mode 100644
index 0000000000000000000000000000000000000000..3aeb5ea1265d8b26848e641d0471f477e331d5d2
--- /dev/null
+++ b/chrome/app/breakpad_win.h
@@ -0,0 +1,23 @@
+// Copyright (c) 2006-2008 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_APP_BREAKPAD_H_
+#define CHROME_APP_BREAKPAD_H_
+
+#include <windows.h>
+#include <string>
+
+// Calls InitCrashReporterThread in it's own thread for the browser process
+// or directly for the plugin and renderer process.
+void InitCrashReporterWithDllPath(const std::wstring& dll_path);
+
+// Intercepts a crash but does not process it, just ask if we want to restart
+// the browser or not.
+void InitDefaultCrashCallback();
+
+// If chrome has been restarted because it crashed, this function will display
+// a dialog asking for permission to continue execution or to exit now.
+bool ShowRestartDialogIfCrashed(bool* exit_now);
+
+#endif // CHROME_APP_BREAKPAD_H_
« no previous file with comments | « chrome/app/breakpad_mac.mm ('k') | chrome/app/breakpad_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698