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

Unified Diff: components/update_client/background_downloader_win.h

Issue 2336913003: Mechanical change of base::Time to base::TimeTicks in the component updater. (Closed)
Patch Set: Created 4 years, 3 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: components/update_client/background_downloader_win.h
diff --git a/components/update_client/background_downloader_win.h b/components/update_client/background_downloader_win.h
index 243461e644e9a93c98bb26bf04e1b984fa7575a6..cf90d18d58ab38ae41ff1bb134b38a9b18876b38 100644
--- a/components/update_client/background_downloader_win.h
+++ b/components/update_client/background_downloader_win.h
@@ -8,6 +8,8 @@
#include <windows.h>
#include <bits.h>
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/strings/string16.h"
@@ -134,10 +136,10 @@ class BackgroundDownloader : public CrxDownloader {
base::win::ScopedComPtr<IBackgroundCopyJob> job_;
// Contains the time when the download of the current url has started.
- base::Time download_start_time_;
+ base::TimeTicks download_start_time_;
// Contains the time when the BITS job is last seen making progress.
- base::Time job_stuck_begin_time_;
+ base::TimeTicks job_stuck_begin_time_;
// Contains the path of the downloaded file if the download was successful.
base::FilePath response_;
« no previous file with comments | « components/update_client/action_update_check.cc ('k') | components/update_client/background_downloader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698