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

Unified Diff: win8/delegate_execute/crash_server_init.h

Issue 11421031: Add basic crash reporting to delegate_execute.exe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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: win8/delegate_execute/crash_server_init.h
diff --git a/win8/delegate_execute/crash_server_init.h b/win8/delegate_execute/crash_server_init.h
new file mode 100644
index 0000000000000000000000000000000000000000..d060b223a084106b1078f9f47f033e7116c78832
--- /dev/null
+++ b/win8/delegate_execute/crash_server_init.h
@@ -0,0 +1,15 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
grt (UTC plus 2) 2012/11/21 19:27:50 2012
robertshield 2012/11/21 21:09:15 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WIN8_DELEGATE_EXECUTE_CRASH_SERVER_INIT_H_
+#define WIN8_DELEGATE_EXECUTE_CRASH_SERVER_INIT_H_
+
+#include "breakpad/src/client/windows/handler/exception_handler.h"
grt (UTC plus 2) 2012/11/21 19:27:50 forward decl instead of include: namespace google_
robertshield 2012/11/21 21:09:15 Done.
+
+// Initializes breakpad crash reporting and returns a pointer to a newly
grt (UTC plus 2) 2012/11/21 19:27:50 put this in the delegate_execute namespace.
robertshield 2012/11/21 21:09:15 Done.
+// constructed ExceptionHandler object. It is the responsibility of the caller
+// to delete this object which will shut down the crash reporting machinery.
+google_breakpad::ExceptionHandler* InitializeCrashReporting();
+
+#endif // WIN8_DELEGATE_EXECUTE_CRASH_SERVER_INIT_H_
« no previous file with comments | « no previous file | win8/delegate_execute/crash_server_init.cc » ('j') | win8/delegate_execute/crash_server_init.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698