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

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

Issue 2764963002: Move ProgID methods from BrowserDistribution into install_static. (Closed)
Patch Set: huangs comments 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_
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // The unsuffixed portion of the AppUserModelId. The AppUserModelId is used to 62 // The unsuffixed portion of the AppUserModelId. The AppUserModelId is used to
63 // group an app's windows together on the Windows taskbar along with its 63 // group an app's windows together on the Windows taskbar along with its
64 // corresponding shortcuts; see 64 // corresponding shortcuts; see
65 // https://msdn.microsoft.com/library/windows/desktop/dd378459.aspx for more 65 // https://msdn.microsoft.com/library/windows/desktop/dd378459.aspx for more
66 // information. Use ShellUtil::GetBrowserModelId to get the suffixed value -- 66 // information. Use ShellUtil::GetBrowserModelId to get the suffixed value --
67 // it is almost never correct to use the unsuffixed (base) portion of this id 67 // it is almost never correct to use the unsuffixed (base) portion of this id
68 // directly. 68 // directly.
69 const wchar_t* base_app_id; 69 const wchar_t* base_app_id;
70 70
71 // The prefix for the browser's ProgID. This prefix may be no more than 11
72 // characters long; see ShellUtil::GetBrowserProgId and
73 // https://msdn.microsoft.com/library/windows/desktop/dd542719.aspx.
74 const wchar_t* prog_id_prefix;
75
76 // A human-readable description of the browser, used when registering with
77 // Windows.
78 const wchar_t* prog_id_description;
79
71 // The default name for this mode's update channel. 80 // The default name for this mode's update channel.
72 const wchar_t* default_channel_name; 81 const wchar_t* default_channel_name;
73 82
74 // The strategy used to determine the mode's update channel, or UNSUPPORTED if 83 // The strategy used to determine the mode's update channel, or UNSUPPORTED if
75 // the brand does not integrate with Google Update. 84 // the brand does not integrate with Google Update.
76 ChannelStrategy channel_strategy; 85 ChannelStrategy channel_strategy;
77 86
78 // True if this mode supports system-level installs. 87 // True if this mode supports system-level installs.
79 bool supports_system_level; 88 bool supports_system_level;
80 89
81 // True if this mode supported the now-deprecated multi-install. 90 // True if this mode supported the now-deprecated multi-install.
82 bool supported_multi_install; 91 bool supported_multi_install;
83 92
84 // The resource id of this mode's main application icon. 93 // The resource id of this mode's main application icon.
85 int16_t app_icon_resource_id; 94 int16_t app_icon_resource_id;
86 }; 95 };
87 96
88 } // namespace install_static 97 } // namespace install_static
89 98
90 #endif // CHROME_INSTALL_STATIC_INSTALL_CONSTANTS_H_ 99 #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_modes_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698