| 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" |
| 11 #include "chrome/common/chrome_icon_resources_win.h" | 11 #include "chrome/common/chrome_icon_resources_win.h" |
| 12 #include "chrome/installer/util/installer_util_strings.h" | |
| 13 #include "chrome/installer/util/updating_app_registration_data.h" | 12 #include "chrome/installer/util/updating_app_registration_data.h" |
| 14 | 13 |
| 14 #include "installer_util_strings.h" // NOLINT |
| 15 |
| 15 namespace { | 16 namespace { |
| 16 | 17 |
| 17 const wchar_t kChromeSxSGuid[] = L"{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}"; | 18 const wchar_t kChromeSxSGuid[] = L"{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}"; |
| 18 const wchar_t kChannelName[] = L"canary"; | 19 const wchar_t kChannelName[] = L"canary"; |
| 19 const wchar_t kBrowserAppId[] = L"ChromeCanary"; | 20 const wchar_t kBrowserAppId[] = L"ChromeCanary"; |
| 20 const wchar_t kBrowserProgIdPrefix[] = L"ChromeSSHTM"; | 21 const wchar_t kBrowserProgIdPrefix[] = L"ChromeSSHTM"; |
| 21 const wchar_t kBrowserProgIdDesc[] = L"Chrome Canary HTML Document"; | 22 const wchar_t kBrowserProgIdDesc[] = L"Chrome Canary HTML Document"; |
| 22 const wchar_t kCommandExecuteImplUuid[] = | 23 const wchar_t kCommandExecuteImplUuid[] = |
| 23 L"{1BEAC3E3-B852-44F4-B468-8906C062422E}"; | 24 L"{1BEAC3E3-B852-44F4-B468-8906C062422E}"; |
| 24 | 25 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 return true; | 114 return true; |
| 114 } | 115 } |
| 115 | 116 |
| 116 bool GoogleChromeSxSDistribution::HasUserExperiments() { | 117 bool GoogleChromeSxSDistribution::HasUserExperiments() { |
| 117 return true; | 118 return true; |
| 118 } | 119 } |
| 119 | 120 |
| 120 base::string16 GoogleChromeSxSDistribution::ChannelName() { | 121 base::string16 GoogleChromeSxSDistribution::ChannelName() { |
| 121 return kChannelName; | 122 return kChannelName; |
| 122 } | 123 } |
| OLD | NEW |