| 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::GetBrowserAppId() { | 38 string16 GoogleChromeSxSDistribution::GetBaseAppId() { |
| 39 return kBrowserAppId; | 39 return kBrowserAppId; |
| 40 } | 40 } |
| 41 | 41 |
| 42 string16 GoogleChromeSxSDistribution::GetInstallSubDir() { | 42 string16 GoogleChromeSxSDistribution::GetInstallSubDir() { |
| 43 return GoogleChromeDistribution::GetInstallSubDir().append( | 43 return GoogleChromeDistribution::GetInstallSubDir().append( |
| 44 installer::kSxSSuffix); | 44 installer::kSxSSuffix); |
| 45 } | 45 } |
| 46 | 46 |
| 47 string16 GoogleChromeSxSDistribution::GetUninstallRegPath() { | 47 string16 GoogleChromeSxSDistribution::GetUninstallRegPath() { |
| 48 return GoogleChromeDistribution::GetUninstallRegPath().append( | 48 return GoogleChromeDistribution::GetUninstallRegPath().append( |
| (...skipping 17 matching lines...) Expand all Loading... |
| 66 string16* handler_class_uuid, | 66 string16* handler_class_uuid, |
| 67 string16* type_lib_uuid, | 67 string16* type_lib_uuid, |
| 68 string16* type_lib_version, | 68 string16* type_lib_version, |
| 69 string16* interface_uuid) { | 69 string16* interface_uuid) { |
| 70 return false; | 70 return false; |
| 71 } | 71 } |
| 72 | 72 |
| 73 string16 GoogleChromeSxSDistribution::ChannelName() { | 73 string16 GoogleChromeSxSDistribution::ChannelName() { |
| 74 return kChannelName; | 74 return kChannelName; |
| 75 } | 75 } |
| OLD | NEW |