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 #include "components/crash/content/app/crash_reporter_client.h" | 5 #include "components/crash/content/app/crash_reporter_client.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
9 // On Windows don't use FilePath and logging.h. | 9 // On Windows don't use FilePath and logging.h. |
10 // http://crbug.com/604923 | 10 // http://crbug.com/604923 |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 // on Android we attach a secondary crash handler which serializes a reduced | 166 // on Android we attach a secondary crash handler which serializes a reduced |
167 // form of logcat on the console. | 167 // form of logcat on the console. |
168 #if defined(NO_UNWIND_TABLES) | 168 #if defined(NO_UNWIND_TABLES) |
169 return true; | 169 return true; |
170 #else | 170 #else |
171 return false; | 171 return false; |
172 #endif | 172 #endif |
173 } | 173 } |
174 #endif | 174 #endif |
175 | 175 |
| 176 #if defined(OS_MACOSX) || defined(OS_WIN) |
| 177 bool CrashReporterClient::ShouldMonitorCrashHandlerExpensively() { |
| 178 return false; |
| 179 } |
| 180 #endif |
| 181 |
176 bool CrashReporterClient::EnableBreakpadForProcess( | 182 bool CrashReporterClient::EnableBreakpadForProcess( |
177 const std::string& process_type) { | 183 const std::string& process_type) { |
178 return false; | 184 return false; |
179 } | 185 } |
180 | 186 |
181 } // namespace crash_reporter | 187 } // namespace crash_reporter |
OLD | NEW |