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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 #else | 129 #else |
130 dist = GetOrCreateBrowserDistribution<ChromiumBinariesDistribution>( | 130 dist = GetOrCreateBrowserDistribution<ChromiumBinariesDistribution>( |
131 &g_binaries_distribution); | 131 &g_binaries_distribution); |
132 #endif | 132 #endif |
133 } | 133 } |
134 | 134 |
135 return dist; | 135 return dist; |
136 } | 136 } |
137 | 137 |
138 void BrowserDistribution::DoPostUninstallOperations( | 138 void BrowserDistribution::DoPostUninstallOperations( |
139 const Version& version, const base::FilePath& local_data_path, | 139 const base::Version& version, const base::FilePath& local_data_path, |
140 const base::string16& distribution_data) { | 140 const base::string16& distribution_data) { |
141 } | 141 } |
142 | 142 |
143 base::string16 BrowserDistribution::GetActiveSetupGuid() { | 143 base::string16 BrowserDistribution::GetActiveSetupGuid() { |
144 return kChromiumActiveSetupGuid; | 144 return kChromiumActiveSetupGuid; |
145 } | 145 } |
146 | 146 |
147 base::string16 BrowserDistribution::GetAppGuid() { | 147 base::string16 BrowserDistribution::GetAppGuid() { |
148 return L""; | 148 return L""; |
149 } | 149 } |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 installer::InstallStatus install_status) { | 295 installer::InstallStatus install_status) { |
296 } | 296 } |
297 | 297 |
298 bool BrowserDistribution::ShouldSetExperimentLabels() { | 298 bool BrowserDistribution::ShouldSetExperimentLabels() { |
299 return false; | 299 return false; |
300 } | 300 } |
301 | 301 |
302 bool BrowserDistribution::HasUserExperiments() { | 302 bool BrowserDistribution::HasUserExperiments() { |
303 return false; | 303 return false; |
304 } | 304 } |
OLD | NEW |