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

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

Issue 686383002: launcher_support: Gets the correct executable path for Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comments to not mention Omaha or ClientState. Created 6 years, 2 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 c9df631e495f0e15720af17495683d059f3f1cb2..8c0b2d4d5f99c1807926163a06e5f3c52d702a42 100644
--- a/chrome/installer/launcher_support/chrome_launcher_support.h
+++ b/chrome/installer/launcher_support/chrome_launcher_support.h
@@ -17,21 +17,20 @@ enum InstallationLevel {
};
// 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.
+// be found in the registry. Prefers the installer from a multi-install, but may
+// also return that of a single-install of Chrome if no multi-install exists.
base::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.
-// The file path returned (if any) is guaranteed to exist.
+// system-level installation to a user-level installation. Uses the registry to
+// identify a Chrome installation location. The file path returned (if any) is
+// guaranteed to exist.
base::FilePath GetAnyChromePath();
// Returns the path to an installed SxS chrome.exe, or an empty path. Prefers a
-// user-level installation to a system-level installation. Uses Omaha client
-// state to identify a Chrome Canary installation location.
-// The file path returned (if any) is guaranteed to exist.
+// user-level installation to a system-level installation. Uses the registry to
+// identify a Chrome Canary installation location. The file path returned (if
+// any) is guaranteed to exist.
base::FilePath GetAnyChromeSxSPath();
} // namespace chrome_launcher_support

Powered by Google App Engine
This is Rietveld 408576698