| 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/app/chrome_dll_resource.h" | 9 #include "chrome/app/chrome_dll_resource.h" |
| 10 #include "chrome/install_static/install_modes.h" | 10 #include "chrome/install_static/install_modes.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 // clang-format off | 26 // clang-format off |
| 27 // The primary (and only) install mode for Chromium. | 27 // The primary (and only) install mode for Chromium. |
| 28 { | 28 { |
| 29 sizeof(kInstallModes[0]), | 29 sizeof(kInstallModes[0]), |
| 30 CHROMIUM_INDEX, | 30 CHROMIUM_INDEX, |
| 31 "", // No install switch for the primary install mode. | 31 "", // No install switch for the primary install mode. |
| 32 L"", // Empty install_suffix for the primary install mode. | 32 L"", // Empty install_suffix for the primary install mode. |
| 33 L"", // No logo suffix for the primary install mode. | 33 L"", // No logo suffix for the primary install mode. |
| 34 L"", // Empty app_guid since no integraion with Google Update. | 34 L"", // Empty app_guid since no integraion with Google Update. |
| 35 L"Chromium", // A distinct base_app_id. | 35 L"Chromium", // A distinct base_app_id. |
| 36 L"ChromiumHTM", // ProgID prefix. |
| 37 L"Chromium HTML Document", // ProgID description. |
| 36 L"", // Empty default channel name as above. | 38 L"", // Empty default channel name as above. |
| 37 ChannelStrategy::UNSUPPORTED, | 39 ChannelStrategy::UNSUPPORTED, |
| 38 true, // Supports system-level installs. | 40 true, // Supports system-level installs. |
| 39 true, // Supported multi-install. | 41 true, // Supported multi-install. |
| 40 IDR_MAINFRAME, | 42 IDR_MAINFRAME, |
| 41 }, | 43 }, |
| 42 // clang-format on | 44 // clang-format on |
| 43 }; | 45 }; |
| 44 | 46 |
| 45 static_assert(_countof(kInstallModes) == NUM_INSTALL_MODES, | 47 static_assert(_countof(kInstallModes) == NUM_INSTALL_MODES, |
| 46 "Imbalance between kInstallModes and InstallConstantIndex"); | 48 "Imbalance between kInstallModes and InstallConstantIndex"); |
| 47 | 49 |
| 48 } // namespace install_static | 50 } // namespace install_static |
| OLD | NEW |