| 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/app/crash_reporter_client.h" | 5 #include "components/crash/app/crash_reporter_client.h" |
| 6 | 6 |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 | 9 |
| 10 namespace crash_reporter { | 10 namespace crash_reporter { |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 // on Android we attach a secondary crash handler which serializes a reduced | 127 // on Android we attach a secondary crash handler which serializes a reduced |
| 128 // form of logcat on the console. | 128 // form of logcat on the console. |
| 129 #if defined(NO_UNWIND_TABLES) | 129 #if defined(NO_UNWIND_TABLES) |
| 130 return true; | 130 return true; |
| 131 #else | 131 #else |
| 132 return false; | 132 return false; |
| 133 #endif | 133 #endif |
| 134 } | 134 } |
| 135 #endif | 135 #endif |
| 136 | 136 |
| 137 #if defined(OS_MACOSX) | |
| 138 void CrashReporterClient::InstallAdditionalFilters(BreakpadRef breakpad) { | |
| 139 } | |
| 140 #endif | |
| 141 | |
| 142 bool CrashReporterClient::EnableBreakpadForProcess( | 137 bool CrashReporterClient::EnableBreakpadForProcess( |
| 143 const std::string& process_type) { | 138 const std::string& process_type) { |
| 144 return false; | 139 return false; |
| 145 } | 140 } |
| 146 | 141 |
| 147 } // namespace crash_reporter | 142 } // namespace crash_reporter |
| OLD | NEW |