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

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

Issue 2834973002: Revert of Enable side-by-side beta and dev channels. (Closed)
Patch Set: Created 3 years, 8 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/app/chrome_dll_resource.h" 9 #include "chrome/app/chrome_dll_resource.h"
10 #include "chrome/common/chrome_icon_resources_win.h" 10 #include "chrome/common/chrome_icon_resources_win.h"
(...skipping 29 matching lines...) Expand all
40 L"{5C65F4B0-3651-4514-B207-D10CB699B14B}", // CommandExecuteImpl CLSID. 40 L"{5C65F4B0-3651-4514-B207-D10CB699B14B}", // CommandExecuteImpl CLSID.
41 L"", // The empty string means "stable". 41 L"", // The empty string means "stable".
42 ChannelStrategy::ADDITIONAL_PARAMETERS, 42 ChannelStrategy::ADDITIONAL_PARAMETERS,
43 true, // Supports system-level installs. 43 true, // Supports system-level installs.
44 true, // Supports in-product set as default browser UX. 44 true, // Supports in-product set as default browser UX.
45 true, // Supports retention experiments. 45 true, // Supports retention experiments.
46 true, // Supported multi-install. 46 true, // Supported multi-install.
47 icon_resources::kApplicationIndex, // App icon resource index. 47 icon_resources::kApplicationIndex, // App icon resource index.
48 IDR_MAINFRAME, // App icon resource id. 48 IDR_MAINFRAME, // App icon resource id.
49 }, 49 },
50 // A secondary install mode for Google Chrome Beta
51 {
52 sizeof(kInstallModes[0]),
53 BETA_INDEX, // The mode for the side-by-side beta channel.
54 "chrome-beta", // Install switch.
55 L" Beta", // Install suffix.
56 L"Beta", // Logo suffix.
57 L"{8237E44A-0054-442C-B6B6-EA0509993955}", // A distinct app GUID.
58 L"Google Chrome Beta", // A distinct base_app_name.
59 L"ChromeBeta", // A distinct base_app_id.
60 L"ChromeBHTML", // ProgID prefix.
61 L"Chrome Beta HTML Document", // ProgID description.
62 L"{8237E44A-0054-442C-B6B6-EA0509993955}", // Active Setup GUID.
63 L"", // CommandExecuteImpl CLSID.
64 L"beta", // Forced channel name.
65 ChannelStrategy::FIXED,
66 true, // Supports system-level installs.
67 false, // Does not support in-product set as default browser UX.
68 true, // Supports retention experiments.
69 false, // Did not support multi-install.
70 icon_resources::kBetaApplicationIndex, // App icon resource index.
71 IDR_X005_BETA, // App icon resource id.
72 },
73 // A secondary install mode for Google Chrome Dev
74 {
75 sizeof(kInstallModes[0]),
76 DEV_INDEX, // The mode for the side-by-side dev channel.
77 "chrome-dev", // Install switch.
78 L" Dev", // Install suffix.
79 L"Dev", // Logo suffix.
80 L"{401C381F-E0DE-4B85-8BD8-3F3F14FBDA57}", // A distinct app GUID.
81 L"Google Chrome Dev", // A distinct base_app_name.
82 L"ChromeDev", // A distinct base_app_id.
83 L"ChromeDHTML", // ProgID prefix.
84 L"Chrome Dev HTML Document", // ProgID description.
85 L"{401C381F-E0DE-4B85-8BD8-3F3F14FBDA57}", // Active Setup GUID.
86 L"", // CommandExecuteImpl CLSID.
87 L"dev", // Forced channel name.
88 ChannelStrategy::FIXED,
89 true, // Supports system-level installs.
90 false, // Does not support in-product set as default browser UX.
91 true, // Supports retention experiments.
92 false, // Did not support multi-install.
93 icon_resources::kDevApplicationIndex, // App icon resource index.
94 IDR_X004_DEV, // App icon resource id.
95 },
96 // A secondary install mode for Google Chrome SxS (canary). 50 // A secondary install mode for Google Chrome SxS (canary).
97 { 51 {
98 sizeof(kInstallModes[0]), 52 sizeof(kInstallModes[0]),
99 CANARY_INDEX, // The mode for the side-by-side canary channel. 53 CANARY_INDEX, // The mode for the side-by-side canary channel.
100 "chrome-sxs", // Install switch. 54 "chrome-sxs", // Install switch.
101 L" SxS", // Install suffix. 55 L" SxS", // Install suffix.
102 L"Canary", // Logo suffix. 56 L"Canary", // Logo suffix.
103 L"{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}", // A distinct app GUID. 57 L"{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}", // A distinct app GUID.
104 L"Google Chrome Canary", // A distinct base_app_name. 58 L"Google Chrome Canary", // A distinct base_app_name.
105 L"ChromeCanary", // A distinct base_app_id. 59 L"ChromeCanary", // A distinct base_app_id.
106 L"ChromeSSHTM", // ProgID prefix. 60 L"ChromeSSHTM", // ProgID prefix.
107 L"Chrome Canary HTML Document", // ProgID description. 61 L"Chrome Canary HTML Document", // ProgID description.
108 L"{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}", // Active Setup GUID. 62 L"{4ea16ac7-fd5a-47c3-875b-dbf4a2008c20}", // Active Setup GUID.
109 L"{1BEAC3E3-B852-44F4-B468-8906C062422E}", // CommandExecuteImpl CLSID. 63 L"{1BEAC3E3-B852-44F4-B468-8906C062422E}", // CommandExecuteImpl CLSID.
110 L"canary", // Forced channel name. 64 L"canary", // Forced channel name.
111 ChannelStrategy::FIXED, 65 ChannelStrategy::FIXED,
112 false, // Does not support system-level installs. 66 false, // Does not support system-level installs.
113 false, // Does not support in-product set as default browser UX. 67 false, // Does not support in-product set as default browser UX.
114 true, // Supports retention experiments. 68 true, // Supports retention experiments.
115 false, // Did not support multi-install. 69 false, // Did not support multi-install.
116 icon_resources::kSxSApplicationIndex, // App icon resource index. 70 icon_resources::kSxSApplicationIndex, // App icon resource index.
117 IDR_SXS, // App icon resource id. 71 IDR_SXS, // App icon resource id.
118 }, 72 },
119 }; 73 };
120 74
121 static_assert(_countof(kInstallModes) == NUM_INSTALL_MODES, 75 static_assert(_countof(kInstallModes) == NUM_INSTALL_MODES,
122 "Imbalance between kInstallModes and InstallConstantIndex"); 76 "Imbalance between kInstallModes and InstallConstantIndex");
123 77
124 } // namespace install_static 78 } // namespace install_static
OLDNEW
« no previous file with comments | « chrome/install_static/google_chrome_install_modes.h ('k') | chrome/install_static/install_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698