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

Unified Diff: components/update_client/crx_update_item.h

Issue 2149283003: Adaptive delay between successive component updates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use TimeTicks Created 4 years, 5 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/action.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/crx_update_item.h
diff --git a/components/update_client/crx_update_item.h b/components/update_client/crx_update_item.h
index b7c1ba1f157e9e3aa5a0adb6f36ada6e79ea54d6..84ee7676bf75f2af51853337db54407a5cabc7b8 100644
--- a/components/update_client/crx_update_item.h
+++ b/components/update_client/crx_update_item.h
@@ -79,8 +79,12 @@ struct CrxUpdateItem {
std::string id;
CrxComponent component;
+ // Time when an update check for this CRX has happened.
base::Time last_check;
+ // Time when the update of this CRX has begun.
+ base::TimeTicks update_begin;
+
// A component can be made available for download from several urls.
std::vector<GURL> crx_urls;
std::vector<GURL> crx_diffurls;
« no previous file with comments | « components/update_client/action.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698