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

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

Issue 10810021: Register Chrome in Active Setup to be called by Windows at user login. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto 147656 Created 8 years, 5 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
« no previous file with comments | « no previous file | chrome/installer/setup/install_worker.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 WorkItemList* list); 121 WorkItemList* list);
122 122
123 // Called for either installation or uninstallation. This method adds or 123 // Called for either installation or uninstallation. This method adds or
124 // removes COM registration for a product's DelegateExecute verb handler. 124 // removes COM registration for a product's DelegateExecute verb handler.
125 void AddDelegateExecuteWorkItems(const InstallerState& installer_state, 125 void AddDelegateExecuteWorkItems(const InstallerState& installer_state,
126 const FilePath& src_path, 126 const FilePath& src_path,
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
132 // on user-login post-install/update.
133 // This method should be called for installation only.
134 // |product|: The product being installed. This method is a no-op if this is
135 // anything other than system-level Chrome/Chromium.
136 void AddActiveSetupWorkItems(const InstallerState& installer_state,
137 const Version& new_version,
138 const Product& product,
139 WorkItemList* list);
140
131 // This method adds work items to create (or update) Chrome uninstall entry in 141 // This method adds work items to create (or update) Chrome uninstall entry in
132 // either the Control Panel->Add/Remove Programs list or in the Omaha client 142 // either the Control Panel->Add/Remove Programs list or in the Omaha client
133 // state key if running under an MSI installer. 143 // state key if running under an MSI installer.
134 void AddUninstallShortcutWorkItems(const InstallerState& installer_state, 144 void AddUninstallShortcutWorkItems(const InstallerState& installer_state,
135 const FilePath& setup_path, 145 const FilePath& setup_path,
136 const Version& new_version, 146 const Version& new_version,
137 WorkItemList* install_list, 147 WorkItemList* install_list,
138 const Product& product); 148 const Product& product);
139 149
140 // Create Version key for a product (if not already present) and sets the new 150 // Create Version key for a product (if not already present) and sets the new
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 void AddQuickEnableApplicationHostWorkItems( 197 void AddQuickEnableApplicationHostWorkItems(
188 const InstallerState& installer_state, 198 const InstallerState& installer_state,
189 const InstallationState& machine_state, 199 const InstallationState& machine_state,
190 const FilePath* setup_path, 200 const FilePath* setup_path,
191 const Version* new_version, 201 const Version* new_version,
192 WorkItemList* work_item_list); 202 WorkItemList* work_item_list);
193 203
194 } // namespace installer 204 } // namespace installer
195 205
196 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ 206 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/installer/setup/install_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698