| 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_CRASH_REPORTER_CLIENT_H_ | 5 #ifndef COMPONENTS_CRASH_APP_CRASH_REPORTER_CLIENT_H_ |
| 6 #define COMPONENTS_CRASH_APP_CRASH_REPORTER_CLIENT_H_ | 6 #define COMPONENTS_CRASH_APP_CRASH_REPORTER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 | 134 |
| 135 #if defined(OS_ANDROID) | 135 #if defined(OS_ANDROID) |
| 136 // Returns the descriptor key of the android minidump global descriptor. | 136 // Returns the descriptor key of the android minidump global descriptor. |
| 137 virtual int GetAndroidMinidumpDescriptor(); | 137 virtual int GetAndroidMinidumpDescriptor(); |
| 138 | 138 |
| 139 // Returns true if breakpad microdumps should be enabled. This orthogonal to | 139 // Returns true if breakpad microdumps should be enabled. This orthogonal to |
| 140 // the standard minidump uploader (which depends on the user consent). | 140 // the standard minidump uploader (which depends on the user consent). |
| 141 virtual bool ShouldEnableBreakpadMicrodumps(); | 141 virtual bool ShouldEnableBreakpadMicrodumps(); |
| 142 #endif | 142 #endif |
| 143 | 143 |
| 144 #if defined(OS_MACOSX) | |
| 145 // Install additional breakpad filter callbacks. | |
| 146 virtual void InstallAdditionalFilters(BreakpadRef breakpad); | |
| 147 #endif | |
| 148 | |
| 149 // Returns true if breakpad should run in the given process type. | 144 // Returns true if breakpad should run in the given process type. |
| 150 virtual bool EnableBreakpadForProcess(const std::string& process_type); | 145 virtual bool EnableBreakpadForProcess(const std::string& process_type); |
| 151 }; | 146 }; |
| 152 | 147 |
| 153 } // namespace crash_reporter | 148 } // namespace crash_reporter |
| 154 | 149 |
| 155 #endif // COMPONENTS_CRASH_APP_CRASH_REPORTER_CLIENT_H_ | 150 #endif // COMPONENTS_CRASH_APP_CRASH_REPORTER_CLIENT_H_ |
| OLD | NEW |