Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: chrome/install_static/google_chrome_install_modes.cc

Issue 2601443002: Remove multi-install from install_static. (Closed)
Patch Set: rebase onto position 442831 Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 Google Chrome. 5 // Brand-specific constants and install modes for Google Chrome.
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
24 const InstallConstants kInstallModes[] = { 24 const InstallConstants kInstallModes[] = {
25 // The primary install mode for stable Google Chrome. 25 // The primary install mode for stable Google Chrome.
26 { 26 {
27 sizeof(kInstallModes[0]), 27 sizeof(kInstallModes[0]),
28 STABLE_INDEX, 28 STABLE_INDEX,
29 L"", // Empty install_suffix for the primary install mode. 29 L"", // Empty install_suffix for the primary install mode.
30 L"{8A69D345-D564-463c-AFF1-A69D9E530F96}", 30 L"{8A69D345-D564-463c-AFF1-A69D9E530F96}",
31 L"", // The empty string means "stable". 31 L"", // The empty string means "stable".
32 ChannelStrategy::ADDITIONAL_PARAMETERS, 32 ChannelStrategy::ADDITIONAL_PARAMETERS,
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 sizeof(kInstallModes[0]), 37 sizeof(kInstallModes[0]),
38 CANARY_INDEX, 38 CANARY_INDEX,
39 L" SxS", 39 L" SxS",
40 L"{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}", 40 L"{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}",
41 L"canary", 41 L"canary",
42 ChannelStrategy::FIXED, 42 ChannelStrategy::FIXED,
43 false, // Does not support system-level installs. 43 false, // Does not support system-level installs.
44 false, // Does not support multi-install. 44 false, // Did not support multi-install.
45 }, 45 },
46 }; 46 };
47 47
48 static_assert(_countof(kInstallModes) == NUM_INSTALL_MODES, 48 static_assert(_countof(kInstallModes) == NUM_INSTALL_MODES,
49 "Imbalance between kInstallModes and InstallConstantIndex"); 49 "Imbalance between kInstallModes and InstallConstantIndex");
50 50
51 } // namespace install_static 51 } // namespace install_static
OLDNEW
« no previous file with comments | « chrome/install_static/chromium_install_modes.cc ('k') | chrome/install_static/install_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698