| 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/breakpad/app/breakpad_client.h" | 5 #include "components/breakpad/app/breakpad_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 breakpad { | 10 namespace breakpad { |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 base::FilePath BreakpadClient::GetReporterLogFilename() { | 84 base::FilePath BreakpadClient::GetReporterLogFilename() { |
| 85 return base::FilePath(); | 85 return base::FilePath(); |
| 86 } | 86 } |
| 87 #endif | 87 #endif |
| 88 | 88 |
| 89 bool BreakpadClient::GetCrashDumpLocation(base::FilePath* crash_dir) { | 89 bool BreakpadClient::GetCrashDumpLocation(base::FilePath* crash_dir) { |
| 90 return false; | 90 return false; |
| 91 } | 91 } |
| 92 | 92 |
| 93 #if defined(OS_POSIX) | |
| 94 void BreakpadClient::SetDumpWithoutCrashingFunction(void (*function)()) { | |
| 95 } | |
| 96 #endif | |
| 97 | |
| 98 size_t BreakpadClient::RegisterCrashKeys() { | 93 size_t BreakpadClient::RegisterCrashKeys() { |
| 99 return 0; | 94 return 0; |
| 100 } | 95 } |
| 101 | 96 |
| 102 bool BreakpadClient::IsRunningUnattended() { | 97 bool BreakpadClient::IsRunningUnattended() { |
| 103 return true; | 98 return true; |
| 104 } | 99 } |
| 105 | 100 |
| 106 bool BreakpadClient::GetCollectStatsConsent() { | 101 bool BreakpadClient::GetCollectStatsConsent() { |
| 107 return false; | 102 return false; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 122 #if defined(OS_MACOSX) | 117 #if defined(OS_MACOSX) |
| 123 void BreakpadClient::InstallAdditionalFilters(BreakpadRef breakpad) { | 118 void BreakpadClient::InstallAdditionalFilters(BreakpadRef breakpad) { |
| 124 } | 119 } |
| 125 #endif | 120 #endif |
| 126 | 121 |
| 127 bool BreakpadClient::EnableBreakpadForProcess(const std::string& process_type) { | 122 bool BreakpadClient::EnableBreakpadForProcess(const std::string& process_type) { |
| 128 return false; | 123 return false; |
| 129 } | 124 } |
| 130 | 125 |
| 131 } // namespace breakpad | 126 } // namespace breakpad |
| OLD | NEW |