| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 // Called for either installation or uninstallation. This method updates the | 115 // Called for either installation or uninstallation. This method updates the |
| 116 // registry according to Chrome Frame specific options for the current | 116 // registry according to Chrome Frame specific options for the current |
| 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 updates the | 125 // Called for either installation or uninstallation. This method adds or |
| 126 // registry according to Chrome specific options for the current installation. | 126 // removes COM registration for a product's DelegateExecute verb handler. |
| 127 // This includes handling of the delegate execute server. | 127 void AddDelegateExecuteWorkItems(const InstallationState& original_state, |
| 128 void AddChromeWorkItems(const InstallationState& original_state, | 128 const InstallerState& installer_state, |
| 129 const InstallerState& installer_state, | 129 const FilePath& setup_path, |
| 130 const FilePath& setup_path, | 130 const Version& new_version, |
| 131 const Version& new_version, | 131 const Product& product, |
| 132 const Product& product, | 132 WorkItemList* list); |
| 133 WorkItemList* list); | |
| 134 | 133 |
| 135 // This method adds work items to create (or update) Chrome uninstall entry in | 134 // This method adds work items to create (or update) Chrome uninstall entry in |
| 136 // either the Control Panel->Add/Remove Programs list or in the Omaha client | 135 // either the Control Panel->Add/Remove Programs list or in the Omaha client |
| 137 // state key if running under an MSI installer. | 136 // state key if running under an MSI installer. |
| 138 void AddUninstallShortcutWorkItems(const InstallerState& installer_state, | 137 void AddUninstallShortcutWorkItems(const InstallerState& installer_state, |
| 139 const FilePath& setup_path, | 138 const FilePath& setup_path, |
| 140 const Version& new_version, | 139 const Version& new_version, |
| 141 WorkItemList* install_list, | 140 WorkItemList* install_list, |
| 142 const Product& product); | 141 const Product& product); |
| 143 | 142 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 // (and may therefore be NULL) when uninstalling. | 176 // (and may therefore be NULL) when uninstalling. |
| 178 void AddQuickEnableWorkItems(const InstallerState& installer_state, | 177 void AddQuickEnableWorkItems(const InstallerState& installer_state, |
| 179 const InstallationState& machine_state, | 178 const InstallationState& machine_state, |
| 180 const FilePath* setup_path, | 179 const FilePath* setup_path, |
| 181 const Version* new_version, | 180 const Version* new_version, |
| 182 WorkItemList* work_item_list); | 181 WorkItemList* work_item_list); |
| 183 | 182 |
| 184 } // namespace installer | 183 } // namespace installer |
| 185 | 184 |
| 186 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ | 185 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ |
| OLD | NEW |