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 specific implementation of BrowserDistribution class for | 5 // This file defines specific implementation of BrowserDistribution class for |
6 // Google Chrome. | 6 // Google Chrome. |
7 | 7 |
8 #include "chrome/installer/util/google_chrome_distribution.h" | 8 #include "chrome/installer/util/google_chrome_distribution.h" |
9 | 9 |
10 #include <windows.h> | 10 #include <windows.h> |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 installer::GetLocalizedString(IDS_PRODUCT_NAME_BASE); | 130 installer::GetLocalizedString(IDS_PRODUCT_NAME_BASE); |
131 return app_shortcut_name; | 131 return app_shortcut_name; |
132 } | 132 } |
133 | 133 |
134 string16 GoogleChromeDistribution::GetAlternateApplicationName() { | 134 string16 GoogleChromeDistribution::GetAlternateApplicationName() { |
135 const string16& alt_product_name = | 135 const string16& alt_product_name = |
136 installer::GetLocalizedString(IDS_OEM_MAIN_SHORTCUT_NAME_BASE); | 136 installer::GetLocalizedString(IDS_OEM_MAIN_SHORTCUT_NAME_BASE); |
137 return alt_product_name; | 137 return alt_product_name; |
138 } | 138 } |
139 | 139 |
| 140 string16 GoogleChromeDistribution::GetAppListShortcutName() { |
| 141 return installer::GetLocalizedString(IDS_APP_LIST_SHORTCUT_NAME_BASE); |
| 142 } |
| 143 |
| 144 string16 GoogleChromeDistribution::GetAppShortcutsSubdirName() { |
| 145 return installer::GetLocalizedString(IDS_APP_SHORTCUTS_SUBDIR_NAME_BASE); |
| 146 } |
| 147 |
140 string16 GoogleChromeDistribution::GetBaseAppId() { | 148 string16 GoogleChromeDistribution::GetBaseAppId() { |
141 return kBrowserAppId; | 149 return kBrowserAppId; |
142 } | 150 } |
143 | 151 |
144 string16 GoogleChromeDistribution::GetInstallSubDir() { | 152 string16 GoogleChromeDistribution::GetInstallSubDir() { |
145 string16 sub_dir(installer::kGoogleChromeInstallSubDir1); | 153 string16 sub_dir(installer::kGoogleChromeInstallSubDir1); |
146 sub_dir.append(L"\\"); | 154 sub_dir.append(L"\\"); |
147 sub_dir.append(installer::kGoogleChromeInstallSubDir2); | 155 sub_dir.append(installer::kGoogleChromeInstallSubDir2); |
148 return sub_dir; | 156 return sub_dir; |
149 } | 157 } |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 product_guid()); | 279 product_guid()); |
272 } | 280 } |
273 | 281 |
274 bool GoogleChromeDistribution::ShouldSetExperimentLabels() { | 282 bool GoogleChromeDistribution::ShouldSetExperimentLabels() { |
275 return true; | 283 return true; |
276 } | 284 } |
277 | 285 |
278 bool GoogleChromeDistribution::HasUserExperiments() { | 286 bool GoogleChromeDistribution::HasUserExperiments() { |
279 return true; | 287 return true; |
280 } | 288 } |
OLD | NEW |