| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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::GetAppShortCutName() { | 157 string16 BrowserDistribution::GetAppShortCutName() { |
| 158 return GetBaseAppName(); | 158 return GetBaseAppName(); |
| 159 } | 159 } |
| 160 | 160 |
| 161 string16 BrowserDistribution::GetAppListShortcutName() { |
| 162 return installer::GetLocalizedString(IDS_APP_LIST_SHORTCUT_NAME_BASE); |
| 163 } |
| 164 |
| 165 string16 BrowserDistribution::GetAppShortcutsSubdirName() { |
| 166 return installer::GetLocalizedString(IDS_APP_SHORTCUTS_SUBDIR_NAME_BASE); |
| 167 } |
| 168 |
| 161 string16 BrowserDistribution::GetAlternateApplicationName() { | 169 string16 BrowserDistribution::GetAlternateApplicationName() { |
| 162 return L"The Internet"; | 170 return L"The Internet"; |
| 163 } | 171 } |
| 164 | 172 |
| 165 string16 BrowserDistribution::GetBaseAppId() { | 173 string16 BrowserDistribution::GetBaseAppId() { |
| 166 return L"Chromium"; | 174 return L"Chromium"; |
| 167 } | 175 } |
| 168 | 176 |
| 169 string16 BrowserDistribution::GetInstallSubDir() { | 177 string16 BrowserDistribution::GetInstallSubDir() { |
| 170 return L"Chromium"; | 178 return L"Chromium"; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 installer::InstallStatus install_status) { | 266 installer::InstallStatus install_status) { |
| 259 } | 267 } |
| 260 | 268 |
| 261 bool BrowserDistribution::ShouldSetExperimentLabels() { | 269 bool BrowserDistribution::ShouldSetExperimentLabels() { |
| 262 return false; | 270 return false; |
| 263 } | 271 } |
| 264 | 272 |
| 265 bool BrowserDistribution::HasUserExperiments() { | 273 bool BrowserDistribution::HasUserExperiments() { |
| 266 return false; | 274 return false; |
| 267 } | 275 } |
| OLD | NEW |