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

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

Issue 3130044: Added browser test for the OOBE update screen.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/update_screen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/update_screen.h
===================================================================
--- chrome/browser/chromeos/login/update_screen.h (revision 57033)
+++ chrome/browser/chromeos/login/update_screen.h (working copy)
@@ -41,6 +41,14 @@
// Returns true if minimal update time has elapsed.
virtual bool MinimalUpdateTimeElapsed();
+ // Minimal update time get/set, in seconds.
+ int minimal_update_time() const { return minimal_update_time_; }
+ void SetMinimalUpdateTime(int seconds);
+
+ // Reboot check delay get/set, in seconds.
+ int reboot_check_delay() const { return reboot_check_delay_; }
+ void SetRebootCheckDelay(int seconds);
+
private:
// Timer notification handlers.
void OnMinimalUpdateTimeElapsed();
@@ -59,6 +67,15 @@
// True if in the process of checking for update.
bool checking_for_update_;
+ // Minimal update delay in seconds, for a user to notice
+ // check for update is taking place.
+ int minimal_update_time_;
+
+ // Time in seconds after which we decide that the device has not rebooted
+ // automatically. If reboot didn't happen durin this interval, ask user to
+ // reboot device manually.
+ int reboot_check_delay_;
+
DISALLOW_COPY_AND_ASSIGN(UpdateScreen);
};
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/update_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698