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

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

Issue 7057055: Show progress bar as soon as update state changed to UPDATE_STATUS_UPDATE_AVAILABLE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed test again Created 9 years, 6 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 | « chrome/browser/chromeos/login/mock_update_screen.h ('k') | 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
diff --git a/chrome/browser/chromeos/login/update_screen.h b/chrome/browser/chromeos/login/update_screen.h
index f3d36cbc63b13dc8addc4c121d11406e44f12db4..2329b2a6f02784a9dcf29e515aae0c633fa3eed5 100644
--- a/chrome/browser/chromeos/login/update_screen.h
+++ b/chrome/browser/chromeos/login/update_screen.h
@@ -47,6 +47,8 @@ class UpdateScreen: public UpdateLibrary::Observer,
// Returns true if this instance is still active (i.e. has not been deleted).
static bool HasInstance(UpdateScreen* inst);
+ void SetIgnoreIdleStatus(bool ignore_idle_status);
+
enum ExitReason {
REASON_UPDATE_CANCELED,
REASON_UPDATE_INIT_FAILED,
@@ -91,10 +93,12 @@ class UpdateScreen: public UpdateLibrary::Observer,
// Flag that is used to detect when update download has just started.
bool is_downloading_update_;
// If true, update deadlines are ignored.
- // Note, this is true by default. See "http://crosbug.com/10068".
+ // Note, this is false by default.
bool is_ignore_update_deadlines_;
// Whether the update screen is shown.
bool is_shown_;
+ // Ignore fist IDLE status that is sent before update screen initiated check.
+ bool ignore_idle_status_;
// Keeps actor which is delegated with all showing operations.
UpdateScreenActor* actor_;
« no previous file with comments | « chrome/browser/chromeos/login/mock_update_screen.h ('k') | chrome/browser/chromeos/login/update_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698