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 CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ | 5 #ifndef CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ |
6 #define CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ | 6 #define CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ |
7 | 7 |
8 #if !defined(OS_WIN) | 8 #if !defined(OS_WIN) |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 bool GetCollectStatsConsent() override; | 46 bool GetCollectStatsConsent() override; |
47 | 47 |
48 #if defined(OS_MACOSX) | 48 #if defined(OS_MACOSX) |
49 bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override; | 49 bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override; |
50 #endif | 50 #endif |
51 | 51 |
52 #if defined(OS_ANDROID) | 52 #if defined(OS_ANDROID) |
53 int GetAndroidMinidumpDescriptor() override; | 53 int GetAndroidMinidumpDescriptor() override; |
54 #endif | 54 #endif |
55 | 55 |
| 56 #if defined(OS_MACOSX) |
| 57 bool ShouldMonitorCrashHandlerExpensively() override; |
| 58 #endif |
| 59 |
56 bool EnableBreakpadForProcess(const std::string& process_type) override; | 60 bool EnableBreakpadForProcess(const std::string& process_type) override; |
57 | 61 |
58 private: | 62 private: |
59 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); | 63 DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); |
60 }; | 64 }; |
61 | 65 |
62 #endif // OS_WIN | 66 #endif // OS_WIN |
63 | 67 |
64 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ | 68 #endif // CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_H_ |
OLD | NEW |