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 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 Loading... |
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 Loading... |
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 } |
OLD | NEW |