| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 | 137 |
| 138 base::string16 BrowserDistribution::GetStateMediumKey() const { | 138 base::string16 BrowserDistribution::GetStateMediumKey() const { |
| 139 return app_reg_data_->GetStateMediumKey(); | 139 return app_reg_data_->GetStateMediumKey(); |
| 140 } | 140 } |
| 141 | 141 |
| 142 base::string16 BrowserDistribution::GetVersionKey() const { | 142 base::string16 BrowserDistribution::GetVersionKey() const { |
| 143 return app_reg_data_->GetVersionKey(); | 143 return app_reg_data_->GetVersionKey(); |
| 144 } | 144 } |
| 145 | 145 |
| 146 void BrowserDistribution::DoPostUninstallOperations( | 146 void BrowserDistribution::DoPostUninstallOperations( |
| 147 const Version& version, const base::FilePath& local_data_path, | 147 const base::Version& version, const base::FilePath& local_data_path, |
| 148 const base::string16& distribution_data) { | 148 const base::string16& distribution_data) { |
| 149 } | 149 } |
| 150 | 150 |
| 151 base::string16 BrowserDistribution::GetActiveSetupGuid() { | 151 base::string16 BrowserDistribution::GetActiveSetupGuid() { |
| 152 return kChromiumActiveSetupGuid; | 152 return kChromiumActiveSetupGuid; |
| 153 } | 153 } |
| 154 | 154 |
| 155 base::string16 BrowserDistribution::GetBaseAppName() { | 155 base::string16 BrowserDistribution::GetBaseAppName() { |
| 156 return L"Chromium"; | 156 return L"Chromium"; |
| 157 } | 157 } |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 installer::InstallStatus install_status) { | 255 installer::InstallStatus install_status) { |
| 256 } | 256 } |
| 257 | 257 |
| 258 bool BrowserDistribution::ShouldSetExperimentLabels() { | 258 bool BrowserDistribution::ShouldSetExperimentLabels() { |
| 259 return false; | 259 return false; |
| 260 } | 260 } |
| 261 | 261 |
| 262 bool BrowserDistribution::HasUserExperiments() { | 262 bool BrowserDistribution::HasUserExperiments() { |
| 263 return false; | 263 return false; |
| 264 } | 264 } |
| OLD | NEW |