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.
5 #ifndef COMPONENTS_BREAKPAD_APP_BREAKPAD_MAC_H_
6 #define COMPONENTS_BREAKPAD_APP_BREAKPAD_MAC_H_
10 // This header defines the entry points for Breakpad integration.
14 // Initializes Breakpad.
15 void InitCrashReporter(const std::string
& process_type
);
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
);
22 // Is Breakpad enabled?
23 bool IsCrashReporterEnabled();
25 } // namespace breakpad
27 #endif // COMPONENTS_BREAKPAD_APP_BREAKPAD_MAC_H_