Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / components / crash / app / breakpad_mac.h
1 // Copyright 2013 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 COMPONENTS_CRASH_APP_BREAKPAD_MAC_H_
6 #define COMPONENTS_CRASH_APP_BREAKPAD_MAC_H_
7
8 #include <string>
9
10 // This header defines the entry points for Breakpad integration.
11
12 namespace breakpad {
13
14 // Initializes Breakpad.
15 void InitCrashReporter(const std::string& process_type);
16
17 // Give Breakpad a chance to store information about the current process.
18 // Extra information requires a parsed command line, so call this after
19 // CommandLine::Init has been called.
20 void InitCrashProcessInfo(const std::string& process_type_switch);
21
22 // Is Breakpad enabled?
23 bool IsCrashReporterEnabled();
24
25 }  // namespace breakpad
26
27 #endif  // COMPONENTS_CRASH_APP_BREAKPAD_MAC_H_