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_BREAKPAD_CLIENT_H_ | 5 #ifndef CHROME_APP_CHROME_BREAKPAD_CLIENT_H_ |
6 #define CHROME_APP_CHROME_BREAKPAD_CLIENT_H_ | 6 #define CHROME_APP_CHROME_BREAKPAD_CLIENT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "components/breakpad/breakpad_client.h" | 10 #include "components/breakpad/breakpad_client.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 #if defined(OS_POSIX) | 49 #if defined(OS_POSIX) |
50 virtual void SetDumpWithoutCrashingFunction(void (*function)()) OVERRIDE; | 50 virtual void SetDumpWithoutCrashingFunction(void (*function)()) OVERRIDE; |
51 #endif | 51 #endif |
52 | 52 |
53 virtual size_t RegisterCrashKeys() OVERRIDE; | 53 virtual size_t RegisterCrashKeys() OVERRIDE; |
54 | 54 |
55 virtual bool IsRunningUnattended() OVERRIDE; | 55 virtual bool IsRunningUnattended() OVERRIDE; |
56 | 56 |
57 #if defined(OS_WIN) || defined(OS_MACOSX) | 57 #if defined(OS_WIN) || defined(OS_MACOSX) |
58 virtual bool GetCollectStatsConsent() OVERRIDE; | 58 virtual bool GetCollectStatsConsent() OVERRIDE; |
| 59 |
| 60 virtual bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) OVERRIDE; |
59 #endif | 61 #endif |
60 | 62 |
61 #if defined(OS_ANDROID) | 63 #if defined(OS_ANDROID) |
62 virtual int GetAndroidMinidumpDescriptor() OVERRIDE; | 64 virtual int GetAndroidMinidumpDescriptor() OVERRIDE; |
63 #endif | 65 #endif |
64 | 66 |
65 #if defined(OS_MACOSX) | 67 #if defined(OS_MACOSX) |
66 virtual void InstallAdditionalFilters(BreakpadRef breakpad) OVERRIDE; | 68 virtual void InstallAdditionalFilters(BreakpadRef breakpad) OVERRIDE; |
67 | |
68 virtual bool ReportingIsEnforcedByPolicy() OVERRIDE; | |
69 #endif | 69 #endif |
70 | 70 |
71 private: | 71 private: |
72 DISALLOW_COPY_AND_ASSIGN(ChromeBreakpadClient); | 72 DISALLOW_COPY_AND_ASSIGN(ChromeBreakpadClient); |
73 }; | 73 }; |
74 | 74 |
75 } // namespace chrome | 75 } // namespace chrome |
76 | 76 |
77 #endif // CHROME_APP_CHROME_BREAKPAD_CLIENT_H_ | 77 #endif // CHROME_APP_CHROME_BREAKPAD_CLIENT_H_ |
OLD | NEW |