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

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

Issue 2778223004: Move GetBaseAppName into install_static. (Closed)
Patch Set: sync to position 460686 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 // 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 // The suffix for the logos corresponding to this install mode. The 53 // The suffix for the logos corresponding to this install mode. The
54 // VisualElementsManifest generated by the installer will use this suffix to 54 // VisualElementsManifest generated by the installer will use this suffix to
55 // reference the proper logos so that they appear in the Start Menu. 55 // reference the proper logos so that they appear in the Start Menu.
56 const wchar_t* logo_suffix; 56 const wchar_t* logo_suffix;
57 57
58 // The app guid with which this mode is registered with Google Update, or an 58 // The app guid with which this mode is registered with Google Update, or an
59 // empty string if the brand does not integrate with Google Update. 59 // empty string if the brand does not integrate with Google Update.
60 const wchar_t* app_guid; 60 const wchar_t* app_guid;
61 61
62 // The unsuffixed application name of this program. This is the base of the
63 // name registered with Default Programs on Windows.
64 const wchar_t* base_app_name;
65
62 // The unsuffixed portion of the AppUserModelId. The AppUserModelId is used to 66 // 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 67 // group an app's windows together on the Windows taskbar along with its
64 // corresponding shortcuts; see 68 // corresponding shortcuts; see
65 // https://msdn.microsoft.com/library/windows/desktop/dd378459.aspx for more 69 // https://msdn.microsoft.com/library/windows/desktop/dd378459.aspx for more
66 // information. Use ShellUtil::GetBrowserModelId to get the suffixed value -- 70 // information. Use ShellUtil::GetBrowserModelId to get the suffixed value --
67 // it is almost never correct to use the unsuffixed (base) portion of this id 71 // it is almost never correct to use the unsuffixed (base) portion of this id
68 // directly. 72 // directly.
69 const wchar_t* base_app_id; 73 const wchar_t* base_app_id;
70 74
71 // The prefix for the browser's ProgID. This prefix may be no more than 11 75 // The prefix for the browser's ProgID. This prefix may be no more than 11
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // The index of this mode's main application icon in the main executable. 115 // The index of this mode's main application icon in the main executable.
112 int app_icon_resource_index; 116 int app_icon_resource_index;
113 117
114 // The resource id of this mode's main application icon. 118 // The resource id of this mode's main application icon.
115 int16_t app_icon_resource_id; 119 int16_t app_icon_resource_id;
116 }; 120 };
117 121
118 } // namespace install_static 122 } // namespace install_static
119 123
120 #endif // CHROME_INSTALL_STATIC_INSTALL_CONSTANTS_H_ 124 #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