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.
4
5#ifndef WIN8_DELEGATE_EXECUTE_CRASH_SERVER_INIT_H_
6#define WIN8_DELEGATE_EXECUTE_CRASH_SERVER_INIT_H_
7
8#include "base/memory/scoped_ptr.h"
9
10namespace google_breakpad {
11class ExceptionHandler;
12}
13
14namespace delegate_execute {
15
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.
19scoped_ptr<google_breakpad::ExceptionHandler> InitializeCrashReporting();
20
21}  // namespace delegate_execute
22
23#endif  // WIN8_DELEGATE_EXECUTE_CRASH_SERVER_INIT_H_
24