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

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: 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..764d4c6096d5e4598fe93128688d00f9502c9d87 100644
--- a/chrome/installer/launcher_support/chrome_launcher_support.h
+++ b/chrome/installer/launcher_support/chrome_launcher_support.h
@@ -4,6 +4,7 @@
#ifndef CHROME_INSTALLER_LAUNCHER_SUPPORT_CHROME_LAUNCHER_SUPPORT_H_
#define CHROME_INSTALLER_LAUNCHER_SUPPORT_CHROME_LAUNCHER_SUPPORT_H_
+#include "base/string16.h"
class FilePath;
@@ -22,10 +23,27 @@ enum InstallationLevel {
// The file path returned (if any) is guaranteed to exist.
FilePath GetAnyChromePath();
+// 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.
FilePath GetChromePathForInstallationLevel(InstallationLevel level);
+// TODO: Comments
erikwright (departed) 2012/09/12 15:53:50 These new methods should be moved out of launcher_
huangs 2012/09/12 19:24:27 Done.
+bool GetAppHostVersionString(string16* version_str);
+
+// TODO: Comments
+bool GetChromeBinariesVersionStringForInstallationLevel(InstallationLevel level,
+ string16* version_str);
+
+// TODO: Comments
+bool GetAnyChromeBinariesVersionString(string16* version_str);
+
+// TODO: COmments.
+bool UpgradeAppHost();
+
} // namespace chrome_launcher_support
#endif // CHROME_INSTALLER_LAUNCHER_SUPPORT_CHROME_LAUNCHER_SUPPORT_H_

Powered by Google App Engine
This is Rietveld 408576698