OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
129 WorkItemList* install_list); | 129 WorkItemList* install_list); |
130 | 130 |
131 // Utility method currently shared between install.cc and install_worker.cc | 131 // Utility method currently shared between install.cc and install_worker.cc |
132 void AppendUninstallCommandLineFlags(const InstallerState& installer_state, | 132 void AppendUninstallCommandLineFlags(const InstallerState& installer_state, |
133 const Product& product, | 133 const Product& product, |
134 CommandLine* uninstall_cmd); | 134 CommandLine* uninstall_cmd); |
135 | 135 |
136 // Refreshes the elevation policy on platforms where it is supported. | 136 // Refreshes the elevation policy on platforms where it is supported. |
137 void RefreshElevationPolicy(); | 137 void RefreshElevationPolicy(); |
138 | 138 |
139 // Add work items to add or remove the "quick-enable-cf" to the multi-installer | |
140 // binaries' version key. |setup_path| and |new_version| are required when | |
robertshield
2011/03/02 14:58:57
Three spaces after a period? That's a lot of space
grt (UTC plus 2)
2011/03/02 19:48:28
Inflation, don't you know.
| |
141 // processing product installation; they may be NULL when uninstalling. | |
erikwright (departed)
2011/03/02 15:18:16
'may' or 'must'?
After reviewing the implementati
grt (UTC plus 2)
2011/03/02 19:48:28
Nothing will break if they aren't NULL on uninstal
| |
142 void AddQuickEnableWorkItems(const InstallerState& installer_state, | |
143 const InstallationState& machine_state, | |
144 const FilePath* setup_path, | |
145 const Version* new_version, | |
146 WorkItemList* work_item_list); | |
147 | |
139 } // namespace installer | 148 } // namespace installer |
140 | 149 |
141 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ | 150 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ |
OLD | NEW |