| Index: chrome/browser/chromeos/cros/update_library.h
|
| diff --git a/chrome/browser/chromeos/cros/update_library.h b/chrome/browser/chromeos/cros/update_library.h
|
| index f0fb65da303812d99cdd8932bbe2d6f2a3001950..e17934b400186b0ff8e1b55863c57b89244caa71 100644
|
| --- a/chrome/browser/chromeos/cros/update_library.h
|
| +++ b/chrome/browser/chromeos/cros/update_library.h
|
| @@ -8,9 +8,6 @@
|
|
|
| #include <string>
|
|
|
| -#include "base/memory/singleton.h"
|
| -#include "base/observer_list.h"
|
| -#include "base/time.h"
|
| #include "third_party/cros/chromeos_update_engine.h"
|
|
|
| namespace chromeos {
|
| @@ -33,19 +30,19 @@ class UpdateLibrary {
|
| new_size(0) {
|
| }
|
|
|
| - explicit Status(const UpdateProgress& x) :
|
| - status(x.status_),
|
| - download_progress(x.download_progress_),
|
| - last_checked_time(x.last_checked_time_),
|
| - new_version(x.new_version_),
|
| - new_size(x.new_size_) {
|
| + explicit Status(const UpdateProgress& o)
|
| + : status(o.status_),
|
| + download_progress(o.download_progress_),
|
| + last_checked_time(o.last_checked_time_),
|
| + new_version(o.new_version_),
|
| + new_size(o.new_size_) {
|
| }
|
|
|
| UpdateStatusOperation status;
|
| - double download_progress; // 0.0 - 1.0
|
| + double download_progress; // 0.0 - 1.0
|
| int64_t last_checked_time; // As reported by std::time().
|
| std::string new_version;
|
| - int64_t new_size; // Valid during DOWNLOADING, in bytes.
|
| + int64_t new_size; // Valid during DOWNLOADING, in bytes.
|
| };
|
|
|
| class Observer {
|
|
|