| 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 | 135 |
| 136 base::string16 BrowserDistribution::GetStateMediumKey() const { | 136 base::string16 BrowserDistribution::GetStateMediumKey() const { |
| 137 return app_reg_data_->GetStateMediumKey(); | 137 return app_reg_data_->GetStateMediumKey(); |
| 138 } | 138 } |
| 139 | 139 |
| 140 base::string16 BrowserDistribution::GetVersionKey() const { | 140 base::string16 BrowserDistribution::GetVersionKey() const { |
| 141 return app_reg_data_->GetVersionKey(); | 141 return app_reg_data_->GetVersionKey(); |
| 142 } | 142 } |
| 143 | 143 |
| 144 void BrowserDistribution::DoPostUninstallOperations( | 144 void BrowserDistribution::DoPostUninstallOperations( |
| 145 const base::Version& version, | 145 const Version& version, const base::FilePath& local_data_path, |
| 146 const base::FilePath& local_data_path, | 146 const base::string16& distribution_data) { |
| 147 const base::string16& distribution_data) {} | 147 } |
| 148 | 148 |
| 149 base::string16 BrowserDistribution::GetActiveSetupGuid() { | 149 base::string16 BrowserDistribution::GetActiveSetupGuid() { |
| 150 return kChromiumActiveSetupGuid; | 150 return kChromiumActiveSetupGuid; |
| 151 } | 151 } |
| 152 | 152 |
| 153 base::string16 BrowserDistribution::GetBaseAppName() { | 153 base::string16 BrowserDistribution::GetBaseAppName() { |
| 154 return L"Chromium"; | 154 return L"Chromium"; |
| 155 } | 155 } |
| 156 | 156 |
| 157 base::string16 BrowserDistribution::GetDisplayName() { | 157 base::string16 BrowserDistribution::GetDisplayName() { |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 installer::InstallStatus install_status) { | 273 installer::InstallStatus install_status) { |
| 274 } | 274 } |
| 275 | 275 |
| 276 bool BrowserDistribution::ShouldSetExperimentLabels() { | 276 bool BrowserDistribution::ShouldSetExperimentLabels() { |
| 277 return false; | 277 return false; |
| 278 } | 278 } |
| 279 | 279 |
| 280 bool BrowserDistribution::HasUserExperiments() { | 280 bool BrowserDistribution::HasUserExperiments() { |
| 281 return false; | 281 return false; |
| 282 } | 282 } |
| OLD | NEW |