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 |
11 #include <windows.h> | 11 #include <windows.h> |
12 | 12 |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 class BrowserDistribution; | 15 class BrowserDistribution; |
16 class CommandLine; | |
17 class WorkItemList; | 16 class WorkItemList; |
18 | 17 |
19 namespace base { | 18 namespace base { |
| 19 class CommandLine; |
20 class FilePath; | 20 class FilePath; |
21 class Version; | 21 class Version; |
22 } | 22 } |
23 | 23 |
24 namespace installer { | 24 namespace installer { |
25 | 25 |
26 class InstallationState; | 26 class InstallationState; |
27 class InstallerState; | 27 class InstallerState; |
28 class Product; | 28 class Product; |
29 | 29 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 | 154 |
155 // Unregisters the "opv" version of ChromeLauncher from IE's low rights | 155 // Unregisters the "opv" version of ChromeLauncher from IE's low rights |
156 // elevation policy. | 156 // elevation policy. |
157 void AddDeleteOldIELowRightsPolicyWorkItems( | 157 void AddDeleteOldIELowRightsPolicyWorkItems( |
158 const InstallerState& installer_state, | 158 const InstallerState& installer_state, |
159 WorkItemList* install_list); | 159 WorkItemList* install_list); |
160 | 160 |
161 // Utility method currently shared between install.cc and install_worker.cc | 161 // Utility method currently shared between install.cc and install_worker.cc |
162 void AppendUninstallCommandLineFlags(const InstallerState& installer_state, | 162 void AppendUninstallCommandLineFlags(const InstallerState& installer_state, |
163 const Product& product, | 163 const Product& product, |
164 CommandLine* uninstall_cmd); | 164 base::CommandLine* uninstall_cmd); |
165 | 165 |
166 // Refreshes the elevation policy on platforms where it is supported. | 166 // Refreshes the elevation policy on platforms where it is supported. |
167 void RefreshElevationPolicy(); | 167 void RefreshElevationPolicy(); |
168 | 168 |
169 // Adds work items to add or remove the "on-os-upgrade" command to |product|'s | 169 // Adds work items to add or remove the "on-os-upgrade" command to |product|'s |
170 // version key on the basis of the current operation (represented in | 170 // version key on the basis of the current operation (represented in |
171 // |installer_state|). |new_version| is the version of the product(s) | 171 // |installer_state|). |new_version| is the version of the product(s) |
172 // currently being installed -- can be empty on uninstall. | 172 // currently being installed -- can be empty on uninstall. |
173 void AddOsUpgradeWorkItems(const InstallerState& installer_state, | 173 void AddOsUpgradeWorkItems(const InstallerState& installer_state, |
174 const base::FilePath& setup_path, | 174 const base::FilePath& setup_path, |
(...skipping 12 matching lines...) Expand all Loading... |
187 WorkItemList* work_item_list); | 187 WorkItemList* work_item_list); |
188 | 188 |
189 // Adds work items to remove "quick-enable-cf" from the multi-installer | 189 // Adds work items to remove "quick-enable-cf" from the multi-installer |
190 // binaries' version key. | 190 // binaries' version key. |
191 void AddQuickEnableChromeFrameWorkItems(const InstallerState& installer_state, | 191 void AddQuickEnableChromeFrameWorkItems(const InstallerState& installer_state, |
192 WorkItemList* work_item_list); | 192 WorkItemList* work_item_list); |
193 | 193 |
194 } // namespace installer | 194 } // namespace installer |
195 | 195 |
196 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ | 196 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ |
OLD | NEW |