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

Unified Diff: chrome/installer/setup/uninstall.h

Issue 99229: Fix the uninstall failures caused by elevated uninstaller. (Closed)
Patch Set: Created 11 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/setup/main.cc ('k') | chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/uninstall.h
diff --git a/chrome/installer/setup/uninstall.h b/chrome/installer/setup/uninstall.h
index dc2241d1e0c57a14d4ed0c87f19d618042129481..b8478b7a4676bf61d1c952516f761b4c4225989b 100644
--- a/chrome/installer/setup/uninstall.h
+++ b/chrome/installer/setup/uninstall.h
@@ -9,6 +9,7 @@
#include <string>
+#include "base/command_line.h"
#include "chrome/installer/util/util_constants.h"
#include "chrome/installer/util/version.h"
@@ -20,14 +21,16 @@ namespace installer_setup {
// system_uninstall: if true, the function uninstalls Chrome installed system
// wise. otherwise, it uninstalls Chrome installed for the
// current user.
-// installed_version: currently installed version of Chrome.
// remove_all: Remove all shared files, registry entries as well.
// force_uninstall: Uninstall without prompting for user confirmation or
// any checks for Chrome running.
+// cmd_line: CommandLine that contains information about the command that
+// was used to launch current uninstaller.
+// cmd_params: Command line parameters passed to the uninstaller.
installer_util::InstallStatus UninstallChrome(
const std::wstring& exe_path, bool system_uninstall,
- const installer::Version& installed_version,
- bool remove_all, bool force_uninstall);
+ bool remove_all, bool force_uninstall,
+ const CommandLine& cmd_line, const wchar_t* cmd_params);
} // namespace installer_setup
« 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