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

Unified Diff: chrome/installer/util/helper.h

Issue 6091008: Do machine inspection on install.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/util/chrome_frame_distribution.cc ('k') | chrome/installer/util/helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/helper.h
===================================================================
--- chrome/installer/util/helper.h (revision 70232)
+++ chrome/installer/util/helper.h (working copy)
@@ -9,6 +9,7 @@
#pragma once
class BrowserDistribution;
+class CommandLine;
class FilePath;
namespace installer {
@@ -16,6 +17,14 @@
// Checks if a distribution is currently installed as part of a multi-install.
bool IsInstalledAsMulti(bool system_install, BrowserDistribution* dist);
+// Retrieves the command line switches for uninstalling the distribution.
+// Note that the returned CommandLine object does not include a "program".
+// Only the switches should be used.
+// Returns true if the product is installed and the uninstall switches
+// were successfully retrieved, otherwise false.
+bool GetUninstallSwitches(bool system_install, BrowserDistribution* dist,
+ CommandLine* cmd_line_switches);
+
// This function returns the install path for Chrome depending on whether its
// system wide install or user specific install.
// system_install: if true, the function returns system wide location
« no previous file with comments | « chrome/installer/util/chrome_frame_distribution.cc ('k') | chrome/installer/util/helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698