| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 // exe_path: Path to the executable (setup.exe) as it will be copied | 35 // exe_path: Path to the executable (setup.exe) as it will be copied |
| 36 // to temp folder before deleting Chrome folder. | 36 // to temp folder before deleting Chrome folder. |
| 37 // system_uninstall: if true, the function uninstalls Chrome installed system | 37 // system_uninstall: if true, the function uninstalls Chrome installed system |
| 38 // wise. otherwise, it uninstalls Chrome installed for the | 38 // wise. otherwise, it uninstalls Chrome installed for the |
| 39 // current user. | 39 // current user. |
| 40 // remove_all: Remove all shared files, registry entries as well. | 40 // remove_all: Remove all shared files, registry entries as well. |
| 41 // force_uninstall: Uninstall without prompting for user confirmation or | 41 // force_uninstall: Uninstall without prompting for user confirmation or |
| 42 // any checks for Chrome running. | 42 // any checks for Chrome running. |
| 43 // cmd_line: CommandLine that contains information about the command that | 43 // cmd_line: CommandLine that contains information about the command that |
| 44 // was used to launch current uninstaller. | 44 // was used to launch current uninstaller. |
| 45 // cmd_params: Command line parameters passed to the uninstaller. | |
| 46 installer_util::InstallStatus UninstallChrome( | 45 installer_util::InstallStatus UninstallChrome( |
| 47 const std::wstring& exe_path, bool system_uninstall, | 46 const std::wstring& exe_path, bool system_uninstall, |
| 48 bool remove_all, bool force_uninstall, | 47 bool remove_all, bool force_uninstall, |
| 49 const CommandLine& cmd_line, const wchar_t* cmd_params); | 48 const CommandLine& cmd_line); |
| 50 | 49 |
| 51 } // namespace installer_setup | 50 } // namespace installer_setup |
| 52 | 51 |
| 53 #endif // CHROME_INSTALLER_SETUP_UNINSTALL_H_ | 52 #endif // CHROME_INSTALLER_SETUP_UNINSTALL_H_ |
| OLD | NEW |