| 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 "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 return true; | 70 return true; |
| 71 } | 71 } |
| 72 | 72 |
| 73 bool CrashReporterClient::GetShouldDumpLargerDumps(bool is_per_user_install) { | 73 bool CrashReporterClient::GetShouldDumpLargerDumps(bool is_per_user_install) { |
| 74 return false; | 74 return false; |
| 75 } | 75 } |
| 76 | 76 |
| 77 int CrashReporterClient::GetResultCodeRespawnFailed() { | 77 int CrashReporterClient::GetResultCodeRespawnFailed() { |
| 78 return 0; | 78 return 0; |
| 79 } | 79 } |
| 80 | |
| 81 void CrashReporterClient::InitBrowserCrashDumpsRegKey() { | |
| 82 } | |
| 83 | |
| 84 void CrashReporterClient::RecordCrashDumpAttempt(bool is_real_crash) { | |
| 85 } | |
| 86 | |
| 87 void CrashReporterClient::RecordCrashDumpAttemptResult(bool is_real_crash, | |
| 88 bool succeeded) { | |
| 89 } | |
| 90 #endif | 80 #endif |
| 91 | 81 |
| 92 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) | 82 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) |
| 93 void CrashReporterClient::GetProductNameAndVersion(const char** product_name, | 83 void CrashReporterClient::GetProductNameAndVersion(const char** product_name, |
| 94 const char** version) { | 84 const char** version) { |
| 95 } | 85 } |
| 96 | 86 |
| 97 base::FilePath CrashReporterClient::GetReporterLogFilename() { | 87 base::FilePath CrashReporterClient::GetReporterLogFilename() { |
| 98 return base::FilePath(); | 88 return base::FilePath(); |
| 99 } | 89 } |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 #endif | 134 #endif |
| 145 } | 135 } |
| 146 #endif | 136 #endif |
| 147 | 137 |
| 148 bool CrashReporterClient::EnableBreakpadForProcess( | 138 bool CrashReporterClient::EnableBreakpadForProcess( |
| 149 const std::string& process_type) { | 139 const std::string& process_type) { |
| 150 return false; | 140 return false; |
| 151 } | 141 } |
| 152 | 142 |
| 153 } // namespace crash_reporter | 143 } // namespace crash_reporter |
| OLD | NEW |