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

Unified Diff: chrome/browser/chromeos/login/startup_utils.h

Issue 1308833004: Show Goodies page to new Chromebook users (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add GoodiesDisplayer::Delegate for future testing Created 5 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/browser/chromeos/login/startup_utils.h
diff --git a/chrome/browser/chromeos/login/startup_utils.h b/chrome/browser/chromeos/login/startup_utils.h
index 637c23e8bd517f6183c73c7c1f53b9fb324eb882..12e36f8a3aedd8e8e04984f314bdb283b9bf9bc3 100644
--- a/chrome/browser/chromeos/login/startup_utils.h
+++ b/chrome/browser/chromeos/login/startup_utils.h
@@ -11,6 +11,11 @@
class PrefRegistrySimple;
+namespace base {
+class FilePath;
+class TimeDelta;
+}
+
namespace chromeos {
// Static utility methods used at startup time to get/change bits of device
@@ -32,6 +37,12 @@ class StartupUtils {
// Stores the next pending OOBE screen in case it will need to be resumed.
static void SaveOobePendingScreen(const std::string& screen);
+ // Path to flag file indicating oobe completion.
+ static base::FilePath GetOobeCompleteFlagPath();
achuithb 2015/09/18 16:39:11 Don't need this any more, right?
Greg Levin 2015/09/18 18:49:28 Done.
+
+ // Returns the time since the Oobe flag file was created.
+ static base::TimeDelta GetTimeSinceOobeFileCreation();
+
// Returns device registration completion status, i.e. second part of OOBE.
static bool IsDeviceRegistered();

Powered by Google App Engine
This is Rietveld 408576698