Allow the externalfile scheme to be whitelisted as an allowed scheme for component...
[chromium-blink-merge.git] / components / crash / app / breakpad_mac.h
blob73f576a44251470526380ebae2e7d065389af635
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_CRASH_APP_BREAKPAD_MAC_H_
6 #define COMPONENTS_CRASH_APP_BREAKPAD_MAC_H_
8 #include <string>
10 // This header defines the entry points for Breakpad integration.
12 namespace breakpad {
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_CRASH_APP_BREAKPAD_MAC_H_