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..c409a7da175da0ac5736ae0f96a64051cbdd75c5 |
--- /dev/null |
+++ b/win8/delegate_execute/crash_server_init.h |
@@ -0,0 +1,21 @@ |
+// Copyright (c) 2012 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 WIN8_DELEGATE_EXECUTE_CRASH_SERVER_INIT_H_ |
+#define WIN8_DELEGATE_EXECUTE_CRASH_SERVER_INIT_H_ |
+ |
+namespace google_breakpad { |
+class ExceptionHandler; |
+} |
+ |
+namespace delegate_execute { |
+ |
+// Initializes breakpad crash reporting and returns a pointer to a newly |
+// 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(); |
+ |
+} // namespace delegate_execute |
+ |
+#endif // WIN8_DELEGATE_EXECUTE_CRASH_SERVER_INIT_H_ |