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

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: 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
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 WorkItemList* list); 122 WorkItemList* list);
123 123
124 // Called for either installation or uninstallation. This method adds or 124 // Called for either installation or uninstallation. This method adds or
125 // removes COM registration for a product's DelegateExecute verb handler. 125 // removes COM registration for a product's DelegateExecute verb handler.
126 void AddDelegateExecuteWorkItems(const InstallerState& installer_state, 126 void AddDelegateExecuteWorkItems(const InstallerState& installer_state,
127 const FilePath& src_path, 127 const FilePath& src_path,
128 const Version& new_version, 128 const Version& new_version,
129 const Product& product, 129 const Product& product,
130 WorkItemList* list); 130 WorkItemList* list);
131 131
132 // Adds Active Setup registration for sytem-level setup to be called by Windows
133 // on user-login post-install/update.
134 // This method should be called for installation only.
135 // |product|: The product being installed. This method is a no-op if this is
136 // anything other than system-level Chrome/Chromium.
137 void AddActiveSetupWorkItems(const InstallerState& installer_state,
138 const Version& new_version,
139 const Product& product,
140 WorkItemList* list);
141
132 // 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
133 // 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
134 // state key if running under an MSI installer. 144 // state key if running under an MSI installer.
135 void AddUninstallShortcutWorkItems(const InstallerState& installer_state, 145 void AddUninstallShortcutWorkItems(const InstallerState& installer_state,
136 const FilePath& setup_path, 146 const FilePath& setup_path,
137 const Version& new_version, 147 const Version& new_version,
138 WorkItemList* install_list, 148 WorkItemList* install_list,
139 const Product& product); 149 const Product& product);
140 150
141 // Create Version key for a product (if not already present) and sets the new 151 // Create Version key for a product (if not already present) and sets the new
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // (and may therefore be NULL) when uninstalling. 184 // (and may therefore be NULL) when uninstalling.
175 void AddQuickEnableWorkItems(const InstallerState& installer_state, 185 void AddQuickEnableWorkItems(const InstallerState& installer_state,
176 const InstallationState& machine_state, 186 const InstallationState& machine_state,
177 const FilePath* setup_path, 187 const FilePath* setup_path,
178 const Version* new_version, 188 const Version* new_version,
179 WorkItemList* work_item_list); 189 WorkItemList* work_item_list);
180 190
181 } // namespace installer 191 } // namespace installer
182 192
183 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ 193 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/installer/setup/install_worker.cc » ('j') | chrome/installer/setup/install_worker.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698