OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BREAKPAD_BREAKPAD_MAC_H_ | 5 #ifndef COMPONENTS_BREAKPAD_APP_BREAKPAD_MAC_H_ |
6 #define COMPONENTS_BREAKPAD_BREAKPAD_MAC_H_ | 6 #define COMPONENTS_BREAKPAD_APP_BREAKPAD_MAC_H_ |
7 | 7 |
8 // This header defines the entry points for Breakpad integration. | 8 // This header defines the entry points for Breakpad integration. |
9 | 9 |
10 namespace breakpad { | 10 namespace breakpad { |
11 | 11 |
12 // Initializes Breakpad. | 12 // Initializes Breakpad. |
13 void InitCrashReporter(); | 13 void InitCrashReporter(); |
14 | 14 |
15 // Give Breakpad a chance to store information about the current process. | 15 // Give Breakpad a chance to store information about the current process. |
16 // Extra information requires a parsed command line, so call this after | 16 // Extra information requires a parsed command line, so call this after |
17 // CommandLine::Init has been called. | 17 // CommandLine::Init has been called. |
18 void InitCrashProcessInfo(); | 18 void InitCrashProcessInfo(); |
19 | 19 |
20 // Is Breakpad enabled? | 20 // Is Breakpad enabled? |
21 bool IsCrashReporterEnabled(); | 21 bool IsCrashReporterEnabled(); |
22 | 22 |
23 } // namespace breakpad | 23 } // namespace breakpad |
24 | 24 |
25 #endif // COMPONENTS_BREAKPAD_BREAKPAD_MAC_H_ | 25 #endif // COMPONENTS_BREAKPAD_APP_BREAKPAD_MAC_H_ |
OLD | NEW |