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

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

Issue 2894783003: Make Hands-Off Zero-Touch Enrollment compatibile with tests (Closed)
Patch Set: Make Hands-Off Zero-Touch Enrollment compatibile with tests Created 3 years, 7 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 a5b991f8670204bfb94aba1d55c056a97ef7dc5a..6f9d4ef18dd36ec60b3602e875b1b988d96b3422 100644
--- a/chrome/browser/chromeos/login/startup_utils.h
+++ b/chrome/browser/chromeos/login/startup_utils.h
@@ -59,6 +59,15 @@ class StartupUtils {
// Sets initial locale in local settings.
static void SetInitialLocale(const std::string& locale);
+ // Saves the time of the last update check which did not result in any update.
+ static void SaveTimeOfLastUpdateCheckWithoutUpdate(base::Time time);
+
+ // Clears the update check time which was previously saved.
+ static void ClearTimeOfLastUpdateCheckWithoutUpdate();
+
+ // Returns the time of the last update check which did not lead to an update.
+ static base::Time GetTimeOfLastUpdateCheckWithoutUpdate();
+
// Registers OOBE preferences.
static void RegisterPrefs(PrefRegistrySimple* registry);
};
« no previous file with comments | « chrome/browser/chromeos/login/screens/update_screen_unittest.cc ('k') | chrome/browser/chromeos/login/startup_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698