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