OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 // Brand-specific constants and install modes for Chromium. | 5 // Brand-specific constants and install modes for Chromium. |
6 | 6 |
7 #include <stdlib.h> | 7 #include <stdlib.h> |
8 | 8 |
9 #include "chrome/install_static/install_modes.h" | 9 #include "chrome/install_static/install_modes.h" |
10 | 10 |
11 namespace install_static { | 11 namespace install_static { |
12 | 12 |
13 const wchar_t kCompanyPathName[] = L""; | 13 const wchar_t kCompanyPathName[] = L""; |
14 | 14 |
15 const wchar_t kProductPathName[] = L"Chromium"; | 15 const wchar_t kProductPathName[] = L"Chromium"; |
16 | 16 |
17 const size_t kProductPathNameLength = _countof(kProductPathName) - 1; | 17 const size_t kProductPathNameLength = _countof(kProductPathName) - 1; |
18 | 18 |
19 // No integration with Google Update, so no app GUID. | 19 // No integration with Google Update, so no app GUID. |
20 const wchar_t kBinariesAppGuid[] = L""; | 20 const wchar_t kBinariesAppGuid[] = L""; |
21 | 21 |
22 const wchar_t kBinariesPathName[] = L"Chromium Binaries"; | 22 const wchar_t kBinariesPathName[] = L"Chromium Binaries"; |
23 | 23 |
24 const InstallConstants kInstallModes[] = { | 24 const InstallConstants kInstallModes[] = { |
| 25 // clang-format off |
25 // The primary (and only) install mode for Chromium. | 26 // The primary (and only) install mode for Chromium. |
26 { | 27 { |
27 sizeof(kInstallModes[0]), | 28 sizeof(kInstallModes[0]), |
28 CHROMIUM_INDEX, | 29 CHROMIUM_INDEX, |
| 30 "", // No install switch for the primary install mode. |
29 L"", // Empty install_suffix for the primary install mode. | 31 L"", // Empty install_suffix for the primary install mode. |
| 32 L"", // No logo suffix for the primary install mode. |
30 L"", // Empty app_guid since no integraion with Google Update. | 33 L"", // Empty app_guid since no integraion with Google Update. |
31 L"", // Empty default channel name as above. | 34 L"", // Empty default channel name as above. |
32 ChannelStrategy::UNSUPPORTED, | 35 ChannelStrategy::UNSUPPORTED, |
33 true, // Supports system-level installs. | 36 true, // Supports system-level installs. |
34 true, // Supported multi-install. | 37 true, // Supported multi-install. |
35 }, | 38 }, |
| 39 // clang-format on |
36 }; | 40 }; |
37 | 41 |
38 static_assert(_countof(kInstallModes) == NUM_INSTALL_MODES, | 42 static_assert(_countof(kInstallModes) == NUM_INSTALL_MODES, |
39 "Imbalance between kInstallModes and InstallConstantIndex"); | 43 "Imbalance between kInstallModes and InstallConstantIndex"); |
40 | 44 |
41 } // namespace install_static | 45 } // namespace install_static |
OLD | NEW |