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

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

Issue 208393020: Fix the new First Run sentinel file path determination. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplify changes. 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/util/install_util.h
diff --git a/chrome/installer/util/install_util.h b/chrome/installer/util/install_util.h
index 5bc6b912afeb04a939a95cd5953f33273c0f06ab..53d389f4b672c9981a6547a06aa9d6492b987e07 100644
--- a/chrome/installer/util/install_util.h
+++ b/chrome/installer/util/install_util.h
@@ -106,6 +106,9 @@ class InstallUtil {
// by either --chrome-sxs or the executable path).
static bool IsChromeSxSProcess();
+ // Returns true if the sentinel file exists (or the path cannot be obtained).
+ static bool IsFirstRunSentinelPresent();
+
// Populates |path| with the path to |file| in the sentinel directory for
// |dist|. Returns false on error.
static bool GetSentinelFilePath(const base::FilePath::CharType* file,

Powered by Google App Engine
This is Rietveld 408576698