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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 #endif | 103 #endif |
104 | 104 |
105 #if defined(OS_WIN) | 105 #if defined(OS_WIN) |
106 bool CrashReporterClient::GetCrashDumpLocation(base::string16* crash_dir) { | 106 bool CrashReporterClient::GetCrashDumpLocation(base::string16* crash_dir) { |
107 #else | 107 #else |
108 bool CrashReporterClient::GetCrashDumpLocation(base::FilePath* crash_dir) { | 108 bool CrashReporterClient::GetCrashDumpLocation(base::FilePath* crash_dir) { |
109 #endif | 109 #endif |
110 return false; | 110 return false; |
111 } | 111 } |
112 | 112 |
| 113 #if defined(OS_WIN) |
| 114 bool CrashReporterClient::GetCrashMetricsLocation(base::string16* crash_dir) { |
| 115 #else |
| 116 bool CrashReporterClient::GetCrashMetricsLocation(base::FilePath* crash_dir) { |
| 117 #endif |
| 118 return false; |
| 119 } |
| 120 |
113 size_t CrashReporterClient::RegisterCrashKeys() { | 121 size_t CrashReporterClient::RegisterCrashKeys() { |
114 return 0; | 122 return 0; |
115 } | 123 } |
116 | 124 |
117 bool CrashReporterClient::IsRunningUnattended() { | 125 bool CrashReporterClient::IsRunningUnattended() { |
118 return true; | 126 return true; |
119 } | 127 } |
120 | 128 |
121 bool CrashReporterClient::GetCollectStatsConsent() { | 129 bool CrashReporterClient::GetCollectStatsConsent() { |
122 return false; | 130 return false; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 #endif | 164 #endif |
157 } | 165 } |
158 #endif | 166 #endif |
159 | 167 |
160 bool CrashReporterClient::EnableBreakpadForProcess( | 168 bool CrashReporterClient::EnableBreakpadForProcess( |
161 const std::string& process_type) { | 169 const std::string& process_type) { |
162 return false; | 170 return false; |
163 } | 171 } |
164 | 172 |
165 } // namespace crash_reporter | 173 } // namespace crash_reporter |
OLD | NEW |