1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef WIN8_DELEGATE_EXECUTE_CRASH_SERVER_INIT_H_
6 #define WIN8_DELEGATE_EXECUTE_CRASH_SERVER_INIT_H_
8 #include "base/memory/scoped_ptr.h"
10 namespace google_breakpad
{
11 class ExceptionHandler
;
14 namespace delegate_execute
{
16 // Initializes breakpad crash reporting and returns a pointer to a newly
17 // constructed ExceptionHandler object. It is the responsibility of the caller
18 // to delete this object which will shut down the crash reporting machinery.
19 scoped_ptr
<google_breakpad::ExceptionHandler
> InitializeCrashReporting();
21 } // namespace delegate_execute
23 #endif // WIN8_DELEGATE_EXECUTE_CRASH_SERVER_INIT_H_