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..4173ef5a81ce68f850a1d16321a1c237543bb5db |
--- /dev/null |
+++ b/win8/delegate_execute/crash_server_init.h |
@@ -0,0 +1,23 @@ |
+// 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_ |
+ |
+#include "base/memory/scoped_ptr.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. |
+scoped_ptr<google_breakpad::ExceptionHandler> InitializeCrashReporting(); |
+ |
+} // namespace delegate_execute |
+ |
+#endif // WIN8_DELEGATE_EXECUTE_CRASH_SERVER_INIT_H_ |