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

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

Issue 10389064: Added estimated time remaining on AU. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Issues are fixed, sync. Created 8 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
« no previous file with comments | « chrome/browser/chromeos/login/update_screen.cc ('k') | chrome/browser/resources/chromeos/login/login.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/update_screen_actor.h
diff --git a/chrome/browser/chromeos/login/update_screen_actor.h b/chrome/browser/chromeos/login/update_screen_actor.h
index b4fbbb6e2496ab66d0a9d9d72211076abe04fa8f..89af70b3b27d618110535eae31645fc6b7a25fff 100644
--- a/chrome/browser/chromeos/login/update_screen_actor.h
+++ b/chrome/browser/chromeos/login/update_screen_actor.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,6 +6,8 @@
#define CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_ACTOR_H_
#pragma once
+#include "base/time.h"
+
namespace chromeos {
class UpdateScreenActor {
@@ -37,6 +39,12 @@ class UpdateScreenActor {
// Sets current progress in percents.
virtual void SetProgress(int progress) = 0;
+ // Shows estimated time left message.
+ virtual void ShowEstimatedTimeLeft(bool enable) = 0;
+
+ // Sets current estimation for time left in the downloading stage.
+ virtual void SetEstimatedTimeLeft(const base::TimeDelta& time) = 0;
+
// Shows screen curtains.
virtual void ShowCurtain(bool enable) = 0;
« no previous file with comments | « chrome/browser/chromeos/login/update_screen.cc ('k') | chrome/browser/resources/chromeos/login/login.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698