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 |
(...skipping 13 matching lines...) Expand all Loading... |
24 const InstallConstants kInstallModes[] = { | 24 const InstallConstants kInstallModes[] = { |
25 // The primary (and only) install mode for Chromium. | 25 // The primary (and only) install mode for Chromium. |
26 { | 26 { |
27 sizeof(kInstallModes[0]), | 27 sizeof(kInstallModes[0]), |
28 CHROMIUM_INDEX, | 28 CHROMIUM_INDEX, |
29 L"", // Empty install_suffix for the primary install mode. | 29 L"", // Empty install_suffix for the primary install mode. |
30 L"", // Empty app_guid since no integraion with Google Update. | 30 L"", // Empty app_guid since no integraion with Google Update. |
31 L"", // Empty default channel name as above. | 31 L"", // Empty default channel name as above. |
32 ChannelStrategy::UNSUPPORTED, | 32 ChannelStrategy::UNSUPPORTED, |
33 true, // Supports system-level installs. | 33 true, // Supports system-level installs. |
34 true, // Supports multi-install. | 34 true, // Supported multi-install. |
35 }, | 35 }, |
36 }; | 36 }; |
37 | 37 |
38 static_assert(_countof(kInstallModes) == NUM_INSTALL_MODES, | 38 static_assert(_countof(kInstallModes) == NUM_INSTALL_MODES, |
39 "Imbalance between kInstallModes and InstallConstantIndex"); | 39 "Imbalance between kInstallModes and InstallConstantIndex"); |
40 | 40 |
41 } // namespace install_static | 41 } // namespace install_static |
OLD | NEW |