| 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 } | 250 } |
| 251 | 251 |
| 252 bool BrowserDistribution::CanCreateDesktopShortcuts() { | 252 bool BrowserDistribution::CanCreateDesktopShortcuts() { |
| 253 return true; | 253 return true; |
| 254 } | 254 } |
| 255 | 255 |
| 256 bool BrowserDistribution::GetChromeChannel(base::string16* channel) { | 256 bool BrowserDistribution::GetChromeChannel(base::string16* channel) { |
| 257 return false; | 257 return false; |
| 258 } | 258 } |
| 259 | 259 |
| 260 bool BrowserDistribution::GetCommandExecuteImplClsid( | 260 base::string16 BrowserDistribution::GetCommandExecuteImplClsid() { |
| 261 base::string16* handler_class_uuid) { | 261 return kCommandExecuteImplUuid; |
| 262 if (handler_class_uuid) | |
| 263 *handler_class_uuid = kCommandExecuteImplUuid; | |
| 264 return true; | |
| 265 } | 262 } |
| 266 | 263 |
| 267 void BrowserDistribution::UpdateInstallStatus(bool system_install, | 264 void BrowserDistribution::UpdateInstallStatus(bool system_install, |
| 268 installer::ArchiveType archive_type, | 265 installer::ArchiveType archive_type, |
| 269 installer::InstallStatus install_status) { | 266 installer::InstallStatus install_status) { |
| 270 } | 267 } |
| 271 | 268 |
| 272 bool BrowserDistribution::ShouldSetExperimentLabels() { | 269 bool BrowserDistribution::ShouldSetExperimentLabels() { |
| 273 return false; | 270 return false; |
| 274 } | 271 } |
| 275 | 272 |
| 276 bool BrowserDistribution::HasUserExperiments() { | 273 bool BrowserDistribution::HasUserExperiments() { |
| 277 return false; | 274 return false; |
| 278 } | 275 } |
| OLD | NEW |