Chromium Code Reviews| 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..106e3ad6bcb23df6b5580ac16b7aaf2121252604 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,9 @@ |
| #define CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_ACTOR_H_ |
| #pragma once |
| +#include <string> |
| +#include "base/time.h" |
|
Nikita (slow)
2012/05/10 16:04:31
nit: insert empty line between different include t
ygorshenin1
2012/05/11 12:42:50
Done.
|
| + |
| namespace chromeos { |
| class UpdateScreenActor { |
| @@ -37,9 +40,18 @@ class UpdateScreenActor { |
| // Sets current progress in percents. |
| virtual void SetProgress(int progress) = 0; |
| + // Sets current estimation for time left in the downloading stage. |
| + virtual void SetEstimatedTimeLeft(const base::TimeDelta& time) = 0; |
| + |
| + // Sets current downloading rate. |rate| must be in B/s. |
| + virtual void SetDownloadingRate(double rate) = 0; |
| + |
| // Shows screen curtains. |
| virtual void ShowCurtain(bool enable) = 0; |
| + // Shows update downloading stats. |
| + virtual void ShowUpdateDownloadingStats(bool enable) = 0; |
| + |
| // Shows label for "Preparing updates" state. |
| virtual void ShowPreparingUpdatesInfo(bool visible) = 0; |
| }; |