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

Side by Side Diff: chrome/install_static/install_constants.h

Issue 2689233005: Move brand- and mode-specific app icon resource id into InstallConstants. (Closed)
Patch Set: sync to position 453103 Created 3 years, 9 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 // Defines the struct used to describe each of a brand's install modes; see 5 // Defines the struct used to describe each of a brand's install modes; see
6 // install_modes.h for details. For brands that integrate with Google Update, 6 // install_modes.h for details. For brands that integrate with Google Update,
7 // each mode also describes a strategy for determining its update channel. 7 // each mode also describes a strategy for determining its update channel.
8 8
9 #ifndef CHROME_INSTALL_STATIC_INSTALL_CONSTANTS_H_ 9 #ifndef CHROME_INSTALL_STATIC_INSTALL_CONSTANTS_H_
10 #define CHROME_INSTALL_STATIC_INSTALL_CONSTANTS_H_ 10 #define CHROME_INSTALL_STATIC_INSTALL_CONSTANTS_H_
11 11
12 #include <stdint.h>
13
12 namespace install_static { 14 namespace install_static {
13 15
14 // Identifies different strategies for determining an update channel. 16 // Identifies different strategies for determining an update channel.
15 enum class ChannelStrategy { 17 enum class ChannelStrategy {
16 // Update channels are not supported. This value is for exclusive use by 18 // Update channels are not supported. This value is for exclusive use by
17 // brands that do not integrate with Google Update. 19 // brands that do not integrate with Google Update.
18 UNSUPPORTED, 20 UNSUPPORTED,
19 // Update channel is determined by parsing the "ap" value in the registry. 21 // Update channel is determined by parsing the "ap" value in the registry.
20 // This is used by Google Chrome's primary install mode to differentiate the 22 // This is used by Google Chrome's primary install mode to differentiate the
21 // beta and dev channels from the default stable channel. 23 // beta and dev channels from the default stable channel.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 64
63 // The strategy used to determine the mode's update channel, or UNSUPPORTED if 65 // The strategy used to determine the mode's update channel, or UNSUPPORTED if
64 // the brand does not integrate with Google Update. 66 // the brand does not integrate with Google Update.
65 ChannelStrategy channel_strategy; 67 ChannelStrategy channel_strategy;
66 68
67 // True if this mode supports system-level installs. 69 // True if this mode supports system-level installs.
68 bool supports_system_level; 70 bool supports_system_level;
69 71
70 // True if this mode supported the now-deprecated multi-install. 72 // True if this mode supported the now-deprecated multi-install.
71 bool supported_multi_install; 73 bool supported_multi_install;
74
75 // The resource id of this mode's main application icon.
76 int16_t app_icon_resource_id;
72 }; 77 };
73 78
74 } // namespace install_static 79 } // namespace install_static
75 80
76 #endif // CHROME_INSTALL_STATIC_INSTALL_CONSTANTS_H_ 81 #endif // CHROME_INSTALL_STATIC_INSTALL_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/install_static/google_chrome_install_modes.cc ('k') | chrome/install_static/install_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698