Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(398)

Side by Side Diff: chrome/installer/util/google_chrome_distribution.cc

Issue 13864015: Move app launcher and chrome apps shortcut strings into the installer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@migrate_app_id_fix
Patch Set: rebase, move app launcher and chrome app strings into the installer Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698