summaryrefslogtreecommitdiffstats
path: root/win8/delegate_execute/crash_server_init.h
blob: 4173ef5a81ce68f850a1d16321a1c237543bb5db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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_