OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "chrome/installer/setup/installer_crash_reporter_client.h" | 5 #include "chrome/installer/setup/installer_crash_reporter_client.h" |
6 | 6 |
7 #include "base/debug/crash_logging.h" | 7 #include "base/debug/crash_logging.h" |
8 #include "base/environment.h" | 8 #include "base/environment.h" |
9 #include "base/file_version_info.h" | 9 #include "base/file_version_info.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 // Use large dumps for all but the stable channel. | 88 // Use large dumps for all but the stable channel. |
89 return !channel.empty(); | 89 return !channel.empty(); |
90 } | 90 } |
91 | 91 |
92 int InstallerCrashReporterClient::GetResultCodeRespawnFailed() { | 92 int InstallerCrashReporterClient::GetResultCodeRespawnFailed() { |
93 // The restart dialog is never shown for the installer. | 93 // The restart dialog is never shown for the installer. |
94 NOTREACHED(); | 94 NOTREACHED(); |
95 return 0; | 95 return 0; |
96 } | 96 } |
97 | 97 |
98 void InstallerCrashReporterClient::InitBrowserCrashDumpsRegKey() { | |
99 // The installer does not track dump attempts and results in the registry. | |
100 } | |
101 | |
102 void InstallerCrashReporterClient::RecordCrashDumpAttempt(bool is_real_crash) { | 98 void InstallerCrashReporterClient::RecordCrashDumpAttempt(bool is_real_crash) { |
103 // The installer does not track dump attempts and results in the registry. | 99 // The installer does not track dump attempts and results in the registry. |
104 } | 100 } |
105 | 101 |
106 void InstallerCrashReporterClient::RecordCrashDumpAttemptResult( | 102 void InstallerCrashReporterClient::RecordCrashDumpAttemptResult( |
107 bool is_real_crash, | 103 bool is_real_crash, |
108 bool succeeded) { | 104 bool succeeded) { |
109 // The installer does not track dump attempts and results in the registry. | 105 // The installer does not track dump attempts and results in the registry. |
110 } | 106 } |
111 | 107 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 } | 157 } |
162 } | 158 } |
163 | 159 |
164 return false; | 160 return false; |
165 } | 161 } |
166 | 162 |
167 bool InstallerCrashReporterClient::EnableBreakpadForProcess( | 163 bool InstallerCrashReporterClient::EnableBreakpadForProcess( |
168 const std::string& process_type) { | 164 const std::string& process_type) { |
169 return true; | 165 return true; |
170 } | 166 } |
OLD | NEW |