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

Side by Side Diff: chrome/installer/setup/install_worker.h

Issue 10889028: Install a user-level Start Menu shortcut for every user on system-installs through Active Setup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove TODO for Notify Created 8 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This file contains the declarations of the installer functions that build 5 // This file contains the declarations of the installer functions that build
6 // the WorkItemList used to install the application. 6 // the WorkItemList used to install the application.
7 7
8 #ifndef CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ 8 #ifndef CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_
9 #define CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ 9 #define CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_
10 10
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 const Version& new_version, 127 const Version& new_version,
128 const Product& product, 128 const Product& product,
129 WorkItemList* list); 129 WorkItemList* list);
130 130
131 // Adds Active Setup registration for sytem-level setup to be called by Windows 131 // Adds Active Setup registration for sytem-level setup to be called by Windows
132 // on user-login post-install/update. 132 // on user-login post-install/update.
133 // This method should be called for installation only. 133 // This method should be called for installation only.
134 // |product|: The product being installed. This method is a no-op if this is 134 // |product|: The product being installed. This method is a no-op if this is
135 // anything other than system-level Chrome/Chromium. 135 // anything other than system-level Chrome/Chromium.
136 void AddActiveSetupWorkItems(const InstallerState& installer_state, 136 void AddActiveSetupWorkItems(const InstallerState& installer_state,
137 const FilePath& setup_path,
137 const Version& new_version, 138 const Version& new_version,
138 const Product& product, 139 const Product& product,
139 WorkItemList* list); 140 WorkItemList* list);
140 141
141 // This method adds work items to create (or update) Chrome uninstall entry in 142 // This method adds work items to create (or update) Chrome uninstall entry in
142 // either the Control Panel->Add/Remove Programs list or in the Omaha client 143 // either the Control Panel->Add/Remove Programs list or in the Omaha client
143 // state key if running under an MSI installer. 144 // state key if running under an MSI installer.
144 void AddUninstallShortcutWorkItems(const InstallerState& installer_state, 145 void AddUninstallShortcutWorkItems(const InstallerState& installer_state,
145 const FilePath& setup_path, 146 const FilePath& setup_path,
146 const Version& new_version, 147 const Version& new_version,
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // installation; it is unused (and may therefore be NULL) when uninstalling. 209 // installation; it is unused (and may therefore be NULL) when uninstalling.
209 void AddOsUpgradeWorkItems(const InstallerState& installer_state, 210 void AddOsUpgradeWorkItems(const InstallerState& installer_state,
210 const FilePath* setup_path, 211 const FilePath* setup_path,
211 const Version* new_version, 212 const Version* new_version,
212 const Product& product, 213 const Product& product,
213 WorkItemList* install_list); 214 WorkItemList* install_list);
214 215
215 } // namespace installer 216 } // namespace installer
216 217
217 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ 218 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698