OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Brand-specific constants and install modes for Google Chrome. | |
6 | |
7 #include <stdlib.h> | |
8 | |
9 #include "chrome/install_static/install_modes.h" | |
10 | |
11 namespace install_static { | |
12 | |
13 const wchar_t kCompanyPathName[] = L"Google"; | |
14 | |
15 const wchar_t kProductPathName[] = L"Chrome"; | |
16 | |
17 const size_t kProductPathNameLength = _countof(kProductPathName) - 1; | |
18 | |
19 const wchar_t kBinariesAppGuid[] = L"{4DC8B4CA-1BDA-483e-B5FA-D3C12E15B62D}"; | |
20 | |
21 // Google Chrome integrates with Google Update, so the app GUID above is used. | |
22 const wchar_t kBinariesPathName[] = L""; | |
23 | |
24 const InstallConstants kInstallModes[] = { | |
25 // The primary install mode for stable Google Chrome. | |
26 { | |
27 STABLE_INDEX, | |
28 L"", // Empty install_suffix for the primary install mode. | |
29 L"{8A69D345-D564-463c-AFF1-A69D9E530F96}", | |
30 L"", // The empty string means "stable". | |
31 ChannelStrategy::ADDITIONAL_PARAMETERS, | |
32 true, // Supports system-level installs. | |
33 true, // Supports multi-install. | |
34 }, | |
35 { | |
36 CANARY_INDEX, | |
37 L" SxS", | |
38 L"{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}", | |
Sigurður Ásgeirsson
2016/10/28 15:44:16
ubenit: this GUID is lower case, the other one is
grt (UTC plus 2)
2016/10/31 10:44:30
This is the way it's always been (values copied fr
| |
39 L"canary", | |
40 ChannelStrategy::FIXED, | |
41 true, // Does not support system-level installs. | |
42 false, // Does not support multi-install. | |
43 }, | |
44 }; | |
45 | |
46 static_assert(_countof(kInstallModes) == NUM_INSTALL_MODES, | |
47 "Imbalance between kInstallModes and InstallConstantIndex"); | |
48 | |
49 } // namespace install_static | |
OLD | NEW |