Revert 269361 "Fix WebURLLoaderImpl::Context leak if a pending r..."
[chromium-blink-merge.git] / components / breakpad / app / breakpad_mac.h
blob1db6d7512d52078a5fd24e178f3ef1ad80e9399f
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_
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_BREAKPAD_APP_BREAKPAD_MAC_H_