| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 bool CrashReporterClient::AboutToRestart() { | 69 bool CrashReporterClient::AboutToRestart() { |
| 70 return false; | 70 return false; |
| 71 } | 71 } |
| 72 | 72 |
| 73 bool CrashReporterClient::GetDeferredUploadsSupported( | 73 bool CrashReporterClient::GetDeferredUploadsSupported( |
| 74 bool is_per_usr_install) { | 74 bool is_per_usr_install) { |
| 75 return false; | 75 return false; |
| 76 } | 76 } |
| 77 | 77 |
| 78 bool CrashReporterClient::GetIsPerUserInstall(const base::string16& exe_path) { | 78 bool CrashReporterClient::GetIsPerUserInstall() { |
| 79 return true; | 79 return true; |
| 80 } | 80 } |
| 81 | 81 |
| 82 bool CrashReporterClient::GetShouldDumpLargerDumps(bool is_per_user_install) { | 82 bool CrashReporterClient::GetShouldDumpLargerDumps() { |
| 83 return false; | 83 return false; |
| 84 } | 84 } |
| 85 | 85 |
| 86 int CrashReporterClient::GetResultCodeRespawnFailed() { | 86 int CrashReporterClient::GetResultCodeRespawnFailed() { |
| 87 return 0; | 87 return 0; |
| 88 } | 88 } |
| 89 #endif | 89 #endif |
| 90 | 90 |
| 91 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) | 91 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) |
| 92 void CrashReporterClient::GetProductNameAndVersion(const char** product_name, | 92 void CrashReporterClient::GetProductNameAndVersion(const char** product_name, |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 #endif | 164 #endif |
| 165 } | 165 } |
| 166 #endif | 166 #endif |
| 167 | 167 |
| 168 bool CrashReporterClient::EnableBreakpadForProcess( | 168 bool CrashReporterClient::EnableBreakpadForProcess( |
| 169 const std::string& process_type) { | 169 const std::string& process_type) { |
| 170 return false; | 170 return false; |
| 171 } | 171 } |
| 172 | 172 |
| 173 } // namespace crash_reporter | 173 } // namespace crash_reporter |
| OLD | NEW |