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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 #else | 121 #else |
122 dist = GetOrCreateBrowserDistribution<ChromiumBinariesDistribution>( | 122 dist = GetOrCreateBrowserDistribution<ChromiumBinariesDistribution>( |
123 &g_binaries_distribution); | 123 &g_binaries_distribution); |
124 #endif | 124 #endif |
125 } | 125 } |
126 | 126 |
127 return dist; | 127 return dist; |
128 } | 128 } |
129 | 129 |
130 void BrowserDistribution::DoPostUninstallOperations( | 130 void BrowserDistribution::DoPostUninstallOperations( |
131 const base::Version& version, const base::FilePath& local_data_path, | 131 const Version& version, const base::FilePath& local_data_path, |
132 const base::string16& distribution_data) { | 132 const base::string16& distribution_data) { |
133 } | 133 } |
134 | 134 |
135 base::string16 BrowserDistribution::GetActiveSetupGuid() { | 135 base::string16 BrowserDistribution::GetActiveSetupGuid() { |
136 return kChromiumActiveSetupGuid; | 136 return kChromiumActiveSetupGuid; |
137 } | 137 } |
138 | 138 |
139 base::string16 BrowserDistribution::GetAppGuid() { | 139 base::string16 BrowserDistribution::GetAppGuid() { |
140 return L""; | 140 return L""; |
141 } | 141 } |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 installer::InstallStatus install_status) { | 287 installer::InstallStatus install_status) { |
288 } | 288 } |
289 | 289 |
290 bool BrowserDistribution::ShouldSetExperimentLabels() { | 290 bool BrowserDistribution::ShouldSetExperimentLabels() { |
291 return false; | 291 return false; |
292 } | 292 } |
293 | 293 |
294 bool BrowserDistribution::HasUserExperiments() { | 294 bool BrowserDistribution::HasUserExperiments() { |
295 return false; | 295 return false; |
296 } | 296 } |
OLD | NEW |