OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "installer_util_strings.h" | 9 #include "installer_util_strings.h" |
10 | 10 |
11 namespace { | 11 namespace { |
12 | 12 |
13 const wchar_t kChromeSxSGuid[] = L"{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}"; | 13 const wchar_t kChromeSxSGuid[] = L"{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}"; |
14 const wchar_t kChannelName[] = L"SxS"; | 14 const wchar_t kChannelName[] = L"canary"; |
15 const int kSxSIconIndex = 4; | 15 const int kSxSIconIndex = 4; |
16 | 16 |
17 } // namespace | 17 } // namespace |
18 | 18 |
19 GoogleChromeSxSDistribution::GoogleChromeSxSDistribution() { | 19 GoogleChromeSxSDistribution::GoogleChromeSxSDistribution() { |
20 GoogleChromeDistribution::set_product_guid(kChromeSxSGuid); | 20 GoogleChromeDistribution::set_product_guid(kChromeSxSGuid); |
21 } | 21 } |
22 | 22 |
23 std::wstring GoogleChromeSxSDistribution::GetAppShortCutName() { | 23 std::wstring GoogleChromeSxSDistribution::GetAppShortCutName() { |
24 const std::wstring& shortcut_name = | 24 const std::wstring& shortcut_name = |
(...skipping 24 matching lines...) Expand all Loading... |
49 } | 49 } |
50 | 50 |
51 bool GoogleChromeSxSDistribution::GetChromeChannel(std::wstring* channel) { | 51 bool GoogleChromeSxSDistribution::GetChromeChannel(std::wstring* channel) { |
52 *channel = kChannelName; | 52 *channel = kChannelName; |
53 return true; | 53 return true; |
54 } | 54 } |
55 | 55 |
56 std::wstring GoogleChromeSxSDistribution::ChannelName() { | 56 std::wstring GoogleChromeSxSDistribution::ChannelName() { |
57 return kChannelName; | 57 return kChannelName; |
58 } | 58 } |
OLD | NEW |