| 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 | 10 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 bool system_level, | 124 bool system_level, |
| 125 bool do_register, | 125 bool do_register, |
| 126 bool ignore_failures, | 126 bool ignore_failures, |
| 127 WorkItemList* work_item_list); | 127 WorkItemList* work_item_list); |
| 128 | 128 |
| 129 void AddSetMsiMarkerWorkItem(const InstallerState& installer_state, | 129 void AddSetMsiMarkerWorkItem(const InstallerState& installer_state, |
| 130 BrowserDistribution* dist, | 130 BrowserDistribution* dist, |
| 131 bool set, | 131 bool set, |
| 132 WorkItemList* work_item_list); | 132 WorkItemList* work_item_list); |
| 133 | 133 |
| 134 // Called for either installation or uninstallation. This method updates the | |
| 135 // registry according to Chrome Frame specific options for the current | |
| 136 // installation. This includes handling of the ready-mode option. | |
| 137 void AddChromeFrameWorkItems(const InstallationState& original_state, | |
| 138 const InstallerState& installer_state, | |
| 139 const base::FilePath& setup_path, | |
| 140 const base::Version& new_version, | |
| 141 const Product& product, | |
| 142 WorkItemList* list); | |
| 143 | |
| 144 // Called for either installation or uninstallation. This method adds or | 134 // Called for either installation or uninstallation. This method adds or |
| 145 // removes COM registration for a product's DelegateExecute verb handler. | 135 // removes COM registration for a product's DelegateExecute verb handler. |
| 146 // If |new_version| is empty, the registrations will point to | 136 // If |new_version| is empty, the registrations will point to |
| 147 // delegate_execute.exe directly in |target_path|. | 137 // delegate_execute.exe directly in |target_path|. |
| 148 void AddDelegateExecuteWorkItems(const InstallerState& installer_state, | 138 void AddDelegateExecuteWorkItems(const InstallerState& installer_state, |
| 149 const base::FilePath& target_path, | 139 const base::FilePath& target_path, |
| 150 const base::Version& new_version, | 140 const base::Version& new_version, |
| 151 const Product& product, | 141 const Product& product, |
| 152 WorkItemList* list); | 142 WorkItemList* list); |
| 153 | 143 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 // (and may therefore be empty) when uninstalling. | 199 // (and may therefore be empty) when uninstalling. |
| 210 void AddQuickEnableChromeFrameWorkItems(const InstallerState& installer_state, | 200 void AddQuickEnableChromeFrameWorkItems(const InstallerState& installer_state, |
| 211 const InstallationState& machine_state, | 201 const InstallationState& machine_state, |
| 212 const base::FilePath& setup_path, | 202 const base::FilePath& setup_path, |
| 213 const base::Version& new_version, | 203 const base::Version& new_version, |
| 214 WorkItemList* work_item_list); | 204 WorkItemList* work_item_list); |
| 215 | 205 |
| 216 } // namespace installer | 206 } // namespace installer |
| 217 | 207 |
| 218 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ | 208 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ |
| OLD | NEW |