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

Side by Side Diff: chrome/installer/util/google_chrome_sxs_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 implementation of GoogleChromeSxSDistribution. 5 // This file defines implementation of GoogleChromeSxSDistribution.
6 6
7 #include "chrome/installer/util/google_chrome_sxs_distribution.h" 7 #include "chrome/installer/util/google_chrome_sxs_distribution.h"
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 17 matching lines...) Expand all
28 string16 GoogleChromeSxSDistribution::GetBaseAppName() { 28 string16 GoogleChromeSxSDistribution::GetBaseAppName() {
29 return L"Google Chrome Canary"; 29 return L"Google Chrome Canary";
30 } 30 }
31 31
32 string16 GoogleChromeSxSDistribution::GetAppShortCutName() { 32 string16 GoogleChromeSxSDistribution::GetAppShortCutName() {
33 const string16& shortcut_name = 33 const string16& shortcut_name =
34 installer::GetLocalizedString(IDS_SXS_SHORTCUT_NAME_BASE); 34 installer::GetLocalizedString(IDS_SXS_SHORTCUT_NAME_BASE);
35 return shortcut_name; 35 return shortcut_name;
36 } 36 }
37 37
38 string16 GoogleChromeSxSDistribution::GetAppListShortcutName() {
39 return installer::GetLocalizedString(IDS_APP_LIST_SHORTCUT_NAME_CANARY_BASE);
40 }
41
42 string16 GoogleChromeSxSDistribution::GetAppShortcutsSubdirName() {
43 return installer::GetLocalizedString(
44 IDS_APP_SHORTCUTS_SUBDIR_NAME_CANARY_BASE);
45 }
46
38 string16 GoogleChromeSxSDistribution::GetBaseAppId() { 47 string16 GoogleChromeSxSDistribution::GetBaseAppId() {
39 return kBrowserAppId; 48 return kBrowserAppId;
40 } 49 }
41 50
42 string16 GoogleChromeSxSDistribution::GetInstallSubDir() { 51 string16 GoogleChromeSxSDistribution::GetInstallSubDir() {
43 return GoogleChromeDistribution::GetInstallSubDir().append( 52 return GoogleChromeDistribution::GetInstallSubDir().append(
44 installer::kSxSSuffix); 53 installer::kSxSSuffix);
45 } 54 }
46 55
47 string16 GoogleChromeSxSDistribution::GetUninstallRegPath() { 56 string16 GoogleChromeSxSDistribution::GetUninstallRegPath() {
(...skipping 27 matching lines...) Expand all
75 return true; 84 return true;
76 } 85 }
77 86
78 bool GoogleChromeSxSDistribution::HasUserExperiments() { 87 bool GoogleChromeSxSDistribution::HasUserExperiments() {
79 return true; 88 return true;
80 } 89 }
81 90
82 string16 GoogleChromeSxSDistribution::ChannelName() { 91 string16 GoogleChromeSxSDistribution::ChannelName() {
83 return kChannelName; 92 return kChannelName;
84 } 93 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698