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 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 Loading... | |
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. | |
73 // | |
74 // Returns the cumulative status (combination of |uninstall_status| and the | |
75 // result of this method invocation). | |
76 installer::InstallStatus CleanUpInstallationDirectoryAfterUninstall( | |
77 const InstallationState& original_state, | |
78 const InstallerState& installer_state, | |
79 const CommandLine& cmd_line, | |
80 installer::InstallStatus uninstall_status); | |
gab
2012/11/21 22:55:55
What do you think of taking an installer::InstallS
erikwright (departed)
2012/11/23 18:54:13
Done.
| |
81 | |
63 } // namespace installer | 82 } // namespace installer |
64 | 83 |
65 #endif // CHROME_INSTALLER_SETUP_UNINSTALL_H_ | 84 #endif // CHROME_INSTALLER_SETUP_UNINSTALL_H_ |
OLD | NEW |