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

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

Issue 10905238: If Chrome Binaries version > App Host version, then update App Host. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Including version info in app_hosts.exe; making GetChromePathForInstallationLevel() check Chrome in… Created 8 years, 3 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 a67e53374ab60c277f964d62fee7081afcc7f61d..1051a244586e0e337bf2d23253e99904492080f2 100644
--- a/chrome/installer/launcher_support/chrome_launcher_support.h
+++ b/chrome/installer/launcher_support/chrome_launcher_support.h
@@ -14,6 +14,16 @@ enum InstallationLevel {
SYSTEM_LEVEL_INSTALLATION
};
+// Returns the path to an existing setup.exe at the specified level, if it can
+// be found via Omaha client state.
+FilePath GetSetupExeForInstallationLevel(InstallationLevel level);
+
+// Returns the path to an installed chrome.exe at the specified level, if it can
+// be found via Omaha client state. Prefers the installer from a multi-install,
+// but may also return that of a single-install of Chrome if no multi-install
+// exists.
+FilePath GetChromePathForInstallationLevel(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.
@@ -22,10 +32,6 @@ enum InstallationLevel {
// The file path returned (if any) is guaranteed to exist.
FilePath GetAnyChromePath();
-// Returns the path to an installed chrome.exe at the specified level, if it can
-// be found via Omaha client state.
-FilePath GetChromePathForInstallationLevel(InstallationLevel level);
-
} // namespace chrome_launcher_support
#endif // CHROME_INSTALLER_LAUNCHER_SUPPORT_CHROME_LAUNCHER_SUPPORT_H_

Powered by Google App Engine
This is Rietveld 408576698