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

Unified Diff: chrome/installer/launcher_support/chrome_launcher_support.h

Issue 200713003: Add GetAnyChromeSxSPath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add GetAnyChromeSxSPath instead of checking command line. Created 6 years, 9 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
Index: chrome/installer/launcher_support/chrome_launcher_support.h
diff --git a/chrome/installer/launcher_support/chrome_launcher_support.h b/chrome/installer/launcher_support/chrome_launcher_support.h
index e9f62809aebf6b06c6b9e3ee1d1be664901ec5fe..3d6de2bf5e6032f19488dd373885c94f6724da9a 100644
--- a/chrome/installer/launcher_support/chrome_launcher_support.h
+++ b/chrome/installer/launcher_support/chrome_launcher_support.h
@@ -36,6 +36,10 @@ base::FilePath GetChromePathForInstallationLevel(InstallationLevel level);
// it can be found via Omaha client state.
base::FilePath GetAppHostPathForInstallationLevel(InstallationLevel level);
+// Returns the path to an installed SxS chrome.exe at the specified level, if
+// it can be found via Omaha client state.
+base::FilePath GetChromeSxSPathForInstallationLevel(InstallationLevel level);
+
// Returns the path to an installed chrome.exe, or an empty path. Prefers a
// system-level installation to a user-level installation. Uses Omaha client
// state to identify a Chrome installation location.
@@ -48,6 +52,12 @@ base::FilePath GetAnyChromePath();
// The file path returned (if any) is guaranteed to exist.
base::FilePath GetAnyAppHostPath();
+// Returns the path to an installed SxS chrome.exe, or an empty path. Prefers a
grt (UTC plus 2) 2014/03/18 13:51:06 currently, sxs is only installed at user level, so
jackhou1 2014/03/18 23:39:10 Done.
+// system-level installation to a user-level installation. Uses Omaha client
+// state to identify a Chrome Canary installation location.
+// The file path returned (if any) is guaranteed to exist.
+base::FilePath GetAnyChromeSxSPath();
+
// Uninstalls the legacy app launcher by launching setup.exe with the uninstall
// arguments from the App Launcher ClientState registry key. The uninstall will
// run asynchronously.

Powered by Google App Engine
This is Rietveld 408576698