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

Unified Diff: components/update_client/update_engine.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
« no previous file with comments | « components/update_client/crx_update_item.h ('k') | components/update_client/update_engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/update_engine.h
diff --git a/components/update_client/update_engine.h b/components/update_client/update_engine.h
index 3ebcc11d071ff0c924fb301ea8a21490a119028c..fd546c8565faa874345d5a39429bbeed7989e013 100644
--- a/components/update_client/update_engine.h
+++ b/components/update_client/update_engine.h
@@ -25,6 +25,7 @@
#include "components/update_client/update_client.h"
namespace base {
+class TimeTicks;
class SequencedTaskRunner;
class SingleThreadTaskRunner;
} // namespace base
@@ -89,7 +90,7 @@ class UpdateEngine {
// effect of rejecting the update call if the update call occurs before
// a certain time, which is negotiated with the server as part of the
// update protocol. See the comments for X-Retry-After header.
- base::Time throttle_updates_until_;
+ base::TimeTicks throttle_updates_until_;
DISALLOW_COPY_AND_ASSIGN(UpdateEngine);
};
« no previous file with comments | « components/update_client/crx_update_item.h ('k') | components/update_client/update_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698