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

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

Issue 99229: Fix the uninstall failures caused by elevated uninstaller. (Closed)
Patch Set: Created 11 years, 7 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
« no previous file with comments | « chrome/installer/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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <string> 10 #include <string>
11 11
12 #include "base/command_line.h"
12 #include "chrome/installer/util/util_constants.h" 13 #include "chrome/installer/util/util_constants.h"
13 #include "chrome/installer/util/version.h" 14 #include "chrome/installer/util/version.h"
14 15
15 namespace installer_setup { 16 namespace installer_setup {
16 // This function uninstalls Chrome. 17 // This function uninstalls Chrome.
17 // 18 //
18 // exe_path: Path to the executable (setup.exe) as it will be copied 19 // exe_path: Path to the executable (setup.exe) as it will be copied
19 // to temp folder before deleting Chrome folder. 20 // to temp folder before deleting Chrome folder.
20 // system_uninstall: if true, the function uninstalls Chrome installed system 21 // system_uninstall: if true, the function uninstalls Chrome installed system
21 // wise. otherwise, it uninstalls Chrome installed for the 22 // wise. otherwise, it uninstalls Chrome installed for the
22 // current user. 23 // current user.
23 // installed_version: currently installed version of Chrome.
24 // remove_all: Remove all shared files, registry entries as well. 24 // remove_all: Remove all shared files, registry entries as well.
25 // force_uninstall: Uninstall without prompting for user confirmation or 25 // force_uninstall: Uninstall without prompting for user confirmation or
26 // any checks for Chrome running. 26 // any checks for Chrome running.
27 // cmd_line: CommandLine that contains information about the command that
28 // was used to launch current uninstaller.
29 // cmd_params: Command line parameters passed to the uninstaller.
27 installer_util::InstallStatus UninstallChrome( 30 installer_util::InstallStatus UninstallChrome(
28 const std::wstring& exe_path, bool system_uninstall, 31 const std::wstring& exe_path, bool system_uninstall,
29 const installer::Version& installed_version, 32 bool remove_all, bool force_uninstall,
30 bool remove_all, bool force_uninstall); 33 const CommandLine& cmd_line, const wchar_t* cmd_params);
31 34
32 } // namespace installer_setup 35 } // namespace installer_setup
33 36
34 #endif // CHROME_INSTALLER_SETUP_UNINSTALL_H__ 37 #endif // CHROME_INSTALLER_SETUP_UNINSTALL_H__
OLDNEW
« no previous file with comments | « chrome/installer/setup/main.cc ('k') | chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698