OLD | NEW |
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 #pragma once | 10 #pragma once |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 // installation. This includes handling of the ready-mode option. | 117 // installation. This includes handling of the ready-mode option. |
118 void AddChromeFrameWorkItems(const InstallationState& original_state, | 118 void AddChromeFrameWorkItems(const InstallationState& original_state, |
119 const InstallerState& installer_state, | 119 const InstallerState& installer_state, |
120 const FilePath& setup_path, | 120 const FilePath& setup_path, |
121 const Version& new_version, | 121 const Version& new_version, |
122 const Product& product, | 122 const Product& product, |
123 WorkItemList* list); | 123 WorkItemList* list); |
124 | 124 |
125 // Called for either installation or uninstallation. This method adds or | 125 // Called for either installation or uninstallation. This method adds or |
126 // removes COM registration for a product's DelegateExecute verb handler. | 126 // removes COM registration for a product's DelegateExecute verb handler. |
127 void AddDelegateExecuteWorkItems(const InstallationState& original_state, | 127 void AddDelegateExecuteWorkItems(const InstallerState& installer_state, |
128 const InstallerState& installer_state, | 128 const FilePath& src_path, |
129 const FilePath& setup_path, | |
130 const Version& new_version, | 129 const Version& new_version, |
131 const Product& product, | 130 const Product& product, |
132 WorkItemList* list); | 131 WorkItemList* list); |
133 | 132 |
134 // This method adds work items to create (or update) Chrome uninstall entry in | 133 // This method adds work items to create (or update) Chrome uninstall entry in |
135 // either the Control Panel->Add/Remove Programs list or in the Omaha client | 134 // either the Control Panel->Add/Remove Programs list or in the Omaha client |
136 // state key if running under an MSI installer. | 135 // state key if running under an MSI installer. |
137 void AddUninstallShortcutWorkItems(const InstallerState& installer_state, | 136 void AddUninstallShortcutWorkItems(const InstallerState& installer_state, |
138 const FilePath& setup_path, | 137 const FilePath& setup_path, |
139 const Version& new_version, | 138 const Version& new_version, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 // (and may therefore be NULL) when uninstalling. | 175 // (and may therefore be NULL) when uninstalling. |
177 void AddQuickEnableWorkItems(const InstallerState& installer_state, | 176 void AddQuickEnableWorkItems(const InstallerState& installer_state, |
178 const InstallationState& machine_state, | 177 const InstallationState& machine_state, |
179 const FilePath* setup_path, | 178 const FilePath* setup_path, |
180 const Version* new_version, | 179 const Version* new_version, |
181 WorkItemList* work_item_list); | 180 WorkItemList* work_item_list); |
182 | 181 |
183 } // namespace installer | 182 } // namespace installer |
184 | 183 |
185 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ | 184 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ |
OLD | NEW |