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

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

Issue 10837222: Enable EULA dialog to be shown from metro Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "De-dupe some code, one more Dear Greg." 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/util/install_util.h
diff --git a/chrome/installer/util/install_util.h b/chrome/installer/util/install_util.h
index fe2db2b58712d30860cf7768e22985f7d73c65bd..e10025c8f693681e9f2c10b20ce34c4e312006d8 100644
--- a/chrome/installer/util/install_util.h
+++ b/chrome/installer/util/install_util.h
@@ -98,6 +98,13 @@ class InstallUtil {
static bool HasDelegateExecuteHandler(BrowserDistribution* dist,
const string16& chrome_exe);
+ // Populates |path| with the path to |file| in the sentinel directory. This is
+ // the application directory for user-level installs, and the default user
+ // data dir for system-level installs. Returns false on error.
+ static bool GetSentinelFilePath(const char* file,
+ BrowserDistribution* dist,
+ FilePath* path);
+
// Deletes the registry key at path key_path under the key given by root_key.
static bool DeleteRegistryKey(HKEY root_key, const string16& key_path);

Powered by Google App Engine
This is Rietveld 408576698