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

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

Issue 11412015: Copy setup when quick-enabling app host to user-level from system-level. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: sync Created 8 years 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
« no previous file with comments | « chrome/installer/setup/setup_main.cc ('k') | chrome/installer/setup/uninstall.cc » ('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>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // was used to launch current uninstaller. 53 // was used to launch current uninstaller.
54 installer::InstallStatus UninstallProduct( 54 installer::InstallStatus UninstallProduct(
55 const InstallationState& original_state, 55 const InstallationState& original_state,
56 const InstallerState& installer_state, 56 const InstallerState& installer_state,
57 const FilePath& setup_path, 57 const FilePath& setup_path,
58 const Product& dist, 58 const Product& dist,
59 bool remove_all, 59 bool remove_all,
60 bool force_uninstall, 60 bool force_uninstall,
61 const CommandLine& cmd_line); 61 const CommandLine& cmd_line);
62 62
63 // Cleans up the installation directory after all uninstall operations have
64 // completed. Depending on what products are remaining, setup.exe and the
65 // installer archive may be deleted. Empty directories will be pruned (or
66 // scheduled for pruning after reboot, if necessary).
67 //
68 // original_state: The installation state of all products on the system.
69 // installer_state: State associated with this operation.
70 // cmd_line: CommandLine that contains information about the command that
71 // was used to launch current uninstaller.
72 // uninstall_status: the uninstall status so far (may change during invocation).
73 void CleanUpInstallationDirectoryAfterUninstall(
74 const InstallationState& original_state,
75 const InstallerState& installer_state,
76 const CommandLine& cmd_line,
77 installer::InstallStatus* uninstall_status);
78
63 } // namespace installer 79 } // namespace installer
64 80
65 #endif // CHROME_INSTALLER_SETUP_UNINSTALL_H_ 81 #endif // CHROME_INSTALLER_SETUP_UNINSTALL_H_
OLDNEW
« no previous file with comments | « chrome/installer/setup/setup_main.cc ('k') | chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698