OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_CRASH_APP_BREAKPAD_MAC_H_ | 5 #ifndef COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_MAC_H_ |
6 #define COMPONENTS_CRASH_APP_BREAKPAD_MAC_H_ | 6 #define COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_MAC_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 // This header defines the entry points for Breakpad integration. | 10 // This header defines the entry points for Breakpad integration. |
11 | 11 |
12 namespace breakpad { | 12 namespace breakpad { |
13 | 13 |
14 // Initializes Breakpad. | 14 // Initializes Breakpad. |
15 void InitCrashReporter(const std::string& process_type); | 15 void InitCrashReporter(const std::string& process_type); |
16 | 16 |
17 // Give Breakpad a chance to store information about the current process. | 17 // Give Breakpad a chance to store information about the current process. |
18 // Extra information requires a parsed command line, so call this after | 18 // Extra information requires a parsed command line, so call this after |
19 // CommandLine::Init has been called. | 19 // CommandLine::Init has been called. |
20 void InitCrashProcessInfo(const std::string& process_type_switch); | 20 void InitCrashProcessInfo(const std::string& process_type_switch); |
21 | 21 |
22 // Is Breakpad enabled? | 22 // Is Breakpad enabled? |
23 bool IsCrashReporterEnabled(); | 23 bool IsCrashReporterEnabled(); |
24 | 24 |
25 } // namespace breakpad | 25 } // namespace breakpad |
26 | 26 |
27 #endif // COMPONENTS_CRASH_APP_BREAKPAD_MAC_H_ | 27 #endif // COMPONENTS_CRASH_CONTENT_APP_BREAKPAD_MAC_H_ |
OLD | NEW |