OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // This file defines a class that contains various method related to branding. | 5 // This file defines a class that contains various method related to branding. |
6 // It provides only default implementations of these methods. Usually to add | 6 // It provides only default implementations of these methods. Usually to add |
7 // specific branding, we will need to extend this class with a custom | 7 // specific branding, we will need to extend this class with a custom |
8 // implementation. | 8 // implementation. |
9 | 9 |
10 #include "chrome/installer/util/browser_distribution.h" | 10 #include "chrome/installer/util/browser_distribution.h" |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 } | 222 } |
223 | 223 |
224 int BrowserDistribution::GetIconIndex() { | 224 int BrowserDistribution::GetIconIndex() { |
225 return 0; | 225 return 0; |
226 } | 226 } |
227 | 227 |
228 bool BrowserDistribution::GetChromeChannel(std::wstring* channel) { | 228 bool BrowserDistribution::GetChromeChannel(std::wstring* channel) { |
229 return false; | 229 return false; |
230 } | 230 } |
231 | 231 |
| 232 bool BrowserDistribution::GetDelegateExecuteHandlerData( |
| 233 string16* handler_class_uuid, |
| 234 string16* type_lib_uuid, |
| 235 string16* type_lib_version, |
| 236 string16* interface_uuid) { |
| 237 // TODO(grt): http://crbug.com/123727 Return values for Chromium. |
| 238 return false; |
| 239 } |
| 240 |
232 void BrowserDistribution::UpdateInstallStatus(bool system_install, | 241 void BrowserDistribution::UpdateInstallStatus(bool system_install, |
233 installer::ArchiveType archive_type, | 242 installer::ArchiveType archive_type, |
234 installer::InstallStatus install_status) { | 243 installer::InstallStatus install_status) { |
235 } | 244 } |
236 | 245 |
237 bool BrowserDistribution::GetExperimentDetails( | 246 bool BrowserDistribution::GetExperimentDetails( |
238 UserExperiment* experiment, int flavor) { | 247 UserExperiment* experiment, int flavor) { |
239 return false; | 248 return false; |
240 } | 249 } |
241 | 250 |
242 void BrowserDistribution::LaunchUserExperiment( | 251 void BrowserDistribution::LaunchUserExperiment( |
243 const FilePath& setup_path, installer::InstallStatus status, | 252 const FilePath& setup_path, installer::InstallStatus status, |
244 const Version& version, const installer::Product& product, | 253 const Version& version, const installer::Product& product, |
245 bool system_level) { | 254 bool system_level) { |
246 } | 255 } |
247 | 256 |
248 | 257 |
249 void BrowserDistribution::InactiveUserToastExperiment(int flavor, | 258 void BrowserDistribution::InactiveUserToastExperiment(int flavor, |
250 const std::wstring& experiment_group, | 259 const std::wstring& experiment_group, |
251 const installer::Product& installation, | 260 const installer::Product& installation, |
252 const FilePath& application_path) { | 261 const FilePath& application_path) { |
253 } | 262 } |
OLD | NEW |