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

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

Issue 10389064: Added estimated time remaining on AU. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed license headers. 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
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 39e8966e598f33b249e38795a65f5f1188a5f8f4..1c4b8857023e5671da0803b96298f10e2d7726dc 100644
--- a/chrome/browser/chromeos/login/update_screen.h
+++ b/chrome/browser/chromeos/login/update_screen.h
@@ -11,6 +11,7 @@
#include "base/compiler_specific.h"
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
+#include "base/time.h"
#include "base/timer.h"
#include "chrome/browser/chromeos/login/update_screen_actor.h"
#include "chrome/browser/chromeos/login/wizard_screen.h"
@@ -107,6 +108,15 @@ class UpdateScreen: public UpdateEngineClient::Observer,
// Keeps actor which is delegated with all showing operations.
UpdateScreenActor* actor_;
+ // Time of the first notification of the downloading stage.
+ base::Time download_start_time_;
+ double download_start_progress_;
+ // Time of the last notification of the downloading stage.
Nikita (slow) 2012/05/10 16:04:31 nit: Insert empty line before
ygorshenin1 2012/05/11 12:42:50 Done.
+ base::Time download_last_time_;
+ double download_last_progress_;
+ bool is_download_average_speed_computed_;
+ double download_average_speed_;
+
DISALLOW_COPY_AND_ASSIGN(UpdateScreen);
};

Powered by Google App Engine
This is Rietveld 408576698