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

Side by Side Diff: chrome/installer/setup/uninstall.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/installer/setup/setup_util.h ('k') | chrome/installer/util/chrome_app_host_operations.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 declares Chrome uninstall related functions. 5 // This file declares Chrome uninstall related functions.
6 6
7 #ifndef CHROME_INSTALLER_SETUP_UNINSTALL_H_ 7 #ifndef CHROME_INSTALLER_SETUP_UNINSTALL_H_
8 #define CHROME_INSTALLER_SETUP_UNINSTALL_H_ 8 #define CHROME_INSTALLER_SETUP_UNINSTALL_H_
9 9
10 #include <shlobj.h> 10 #include <shlobj.h>
11 11
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "chrome/installer/util/util_constants.h" 13 #include "chrome/installer/util/util_constants.h"
14 14
15 class BrowserDistribution; 15 class BrowserDistribution;
16 class CommandLine;
17 16
18 namespace base { 17 namespace base {
18 class CommandLine;
19 class FilePath; 19 class FilePath;
20 } 20 }
21 21
22 namespace installer { 22 namespace installer {
23 23
24 class InstallationState; 24 class InstallationState;
25 class InstallerState; 25 class InstallerState;
26 class Product; 26 class Product;
27 27
28 enum DeleteResult { 28 enum DeleteResult {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // any checks for Chrome running. 69 // any checks for Chrome running.
70 // cmd_line: CommandLine that contains information about the command that 70 // cmd_line: CommandLine that contains information about the command that
71 // was used to launch current uninstaller. 71 // was used to launch current uninstaller.
72 installer::InstallStatus UninstallProduct( 72 installer::InstallStatus UninstallProduct(
73 const InstallationState& original_state, 73 const InstallationState& original_state,
74 const InstallerState& installer_state, 74 const InstallerState& installer_state,
75 const base::FilePath& setup_exe, 75 const base::FilePath& setup_exe,
76 const Product& dist, 76 const Product& dist,
77 bool remove_all, 77 bool remove_all,
78 bool force_uninstall, 78 bool force_uninstall,
79 const CommandLine& cmd_line); 79 const base::CommandLine& cmd_line);
80 80
81 // Cleans up the installation directory after all uninstall operations have 81 // Cleans up the installation directory after all uninstall operations have
82 // completed. Depending on what products are remaining, setup.exe and the 82 // completed. Depending on what products are remaining, setup.exe and the
83 // installer archive may be deleted. Empty directories will be pruned (or 83 // installer archive may be deleted. Empty directories will be pruned (or
84 // scheduled for pruning after reboot, if necessary). 84 // scheduled for pruning after reboot, if necessary).
85 // 85 //
86 // original_state: The installation state of all products on the system. 86 // original_state: The installation state of all products on the system.
87 // installer_state: State associated with this operation. 87 // installer_state: State associated with this operation.
88 // setup_exe: The path to the currently running setup.exe, which will be moved 88 // setup_exe: The path to the currently running setup.exe, which will be moved
89 // into a temporary directory to allow for deletion of the installation 89 // into a temporary directory to allow for deletion of the installation
90 // directory. 90 // directory.
91 // uninstall_status: the uninstall status so far (may change during invocation). 91 // uninstall_status: the uninstall status so far (may change during invocation).
92 void CleanUpInstallationDirectoryAfterUninstall( 92 void CleanUpInstallationDirectoryAfterUninstall(
93 const InstallationState& original_state, 93 const InstallationState& original_state,
94 const InstallerState& installer_state, 94 const InstallerState& installer_state,
95 const base::FilePath& setup_exe, 95 const base::FilePath& setup_exe,
96 InstallStatus* uninstall_status); 96 InstallStatus* uninstall_status);
97 97
98 } // namespace installer 98 } // namespace installer
99 99
100 #endif // CHROME_INSTALLER_SETUP_UNINSTALL_H_ 100 #endif // CHROME_INSTALLER_SETUP_UNINSTALL_H_
OLDNEW
« no previous file with comments | « chrome/installer/setup/setup_util.h ('k') | chrome/installer/util/chrome_app_host_operations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698