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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 142 |
143 void BrowserDistribution::DoPostUninstallOperations( | 143 void BrowserDistribution::DoPostUninstallOperations( |
144 const Version& version, const FilePath& local_data_path, | 144 const Version& version, const FilePath& local_data_path, |
145 const string16& distribution_data) { | 145 const string16& distribution_data) { |
146 } | 146 } |
147 | 147 |
148 string16 BrowserDistribution::GetAppGuid() { | 148 string16 BrowserDistribution::GetAppGuid() { |
149 return L""; | 149 return L""; |
150 } | 150 } |
151 | 151 |
152 string16 BrowserDistribution::GetApplicationName() { | 152 string16 BrowserDistribution::GetBaseAppName() { |
153 return L"Chromium"; | 153 return L"Chromium"; |
154 } | 154 } |
155 | 155 |
156 string16 BrowserDistribution::GetAppShortCutName() { | 156 string16 BrowserDistribution::GetAppShortCutName() { |
157 return GetApplicationName(); | 157 return GetBaseAppName(); |
158 } | 158 } |
159 | 159 |
160 string16 BrowserDistribution::GetAlternateApplicationName() { | 160 string16 BrowserDistribution::GetAlternateApplicationName() { |
161 return L"The Internet"; | 161 return L"The Internet"; |
162 } | 162 } |
163 | 163 |
164 string16 BrowserDistribution::GetBrowserAppId() { | 164 string16 BrowserDistribution::GetBrowserAppId() { |
165 return L"Chromium"; | 165 return L"Chromium"; |
166 } | 166 } |
167 | 167 |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 const Version& version, const installer::Product& product, | 270 const Version& version, const installer::Product& product, |
271 bool system_level) { | 271 bool system_level) { |
272 } | 272 } |
273 | 273 |
274 | 274 |
275 void BrowserDistribution::InactiveUserToastExperiment(int flavor, | 275 void BrowserDistribution::InactiveUserToastExperiment(int flavor, |
276 const string16& experiment_group, | 276 const string16& experiment_group, |
277 const installer::Product& installation, | 277 const installer::Product& installation, |
278 const FilePath& application_path) { | 278 const FilePath& application_path) { |
279 } | 279 } |
OLD | NEW |