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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 } | 147 } |
148 | 148 |
149 string16 BrowserDistribution::GetAppGuid() { | 149 string16 BrowserDistribution::GetAppGuid() { |
150 return L""; | 150 return L""; |
151 } | 151 } |
152 | 152 |
153 string16 BrowserDistribution::GetBaseAppName() { | 153 string16 BrowserDistribution::GetBaseAppName() { |
154 return L"Chromium"; | 154 return L"Chromium"; |
155 } | 155 } |
156 | 156 |
| 157 string16 BrowserDistribution::GetAppShortCutFolderName() { |
| 158 return GetAppShortCutName(); |
| 159 } |
| 160 |
157 string16 BrowserDistribution::GetAppShortCutName() { | 161 string16 BrowserDistribution::GetAppShortCutName() { |
158 return GetBaseAppName(); | 162 return GetBaseAppName(); |
159 } | 163 } |
160 | 164 |
161 string16 BrowserDistribution::GetAlternateApplicationName() { | 165 string16 BrowserDistribution::GetAlternateApplicationName() { |
162 return L"The Internet"; | 166 return L"The Internet"; |
163 } | 167 } |
164 | 168 |
165 string16 BrowserDistribution::GetBaseAppId() { | 169 string16 BrowserDistribution::GetBaseAppId() { |
166 return L"Chromium"; | 170 return L"Chromium"; |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 installer::InstallStatus install_status) { | 262 installer::InstallStatus install_status) { |
259 } | 263 } |
260 | 264 |
261 bool BrowserDistribution::ShouldSetExperimentLabels() { | 265 bool BrowserDistribution::ShouldSetExperimentLabels() { |
262 return false; | 266 return false; |
263 } | 267 } |
264 | 268 |
265 bool BrowserDistribution::HasUserExperiments() { | 269 bool BrowserDistribution::HasUserExperiments() { |
266 return false; | 270 return false; |
267 } | 271 } |
OLD | NEW |