Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: chrome/installer/setup/install_worker.h

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/switch_utils.h ('k') | chrome/installer/setup/setup_main.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/common/switch_utils.h ('k') | chrome/installer/setup/setup_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698