| 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"canary"; | 14 const wchar_t kChannelName[] = L"canary build"; |
| 15 const wchar_t kBrowserAppId[] = L"ChromeCanary"; | 15 const wchar_t kBrowserAppId[] = L"ChromeCanary"; |
| 16 const int kSxSIconIndex = 4; | 16 const int kSxSIconIndex = 4; |
| 17 | 17 |
| 18 } // namespace | 18 } // namespace |
| 19 | 19 |
| 20 GoogleChromeSxSDistribution::GoogleChromeSxSDistribution() { | 20 GoogleChromeSxSDistribution::GoogleChromeSxSDistribution() { |
| 21 GoogleChromeDistribution::set_product_guid(kChromeSxSGuid); | 21 GoogleChromeDistribution::set_product_guid(kChromeSxSGuid); |
| 22 } | 22 } |
| 23 | 23 |
| 24 std::wstring GoogleChromeSxSDistribution::GetAppShortCutName() { | 24 std::wstring GoogleChromeSxSDistribution::GetAppShortCutName() { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 54 } | 54 } |
| 55 | 55 |
| 56 bool GoogleChromeSxSDistribution::GetChromeChannel(std::wstring* channel) { | 56 bool GoogleChromeSxSDistribution::GetChromeChannel(std::wstring* channel) { |
| 57 *channel = kChannelName; | 57 *channel = kChannelName; |
| 58 return true; | 58 return true; |
| 59 } | 59 } |
| 60 | 60 |
| 61 std::wstring GoogleChromeSxSDistribution::ChannelName() { | 61 std::wstring GoogleChromeSxSDistribution::ChannelName() { |
| 62 return kChannelName; | 62 return kChannelName; |
| 63 } | 63 } |
| OLD | NEW |