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

Unified Diff: components/signin/core/browser/gaia_cookie_manager_service.h

Issue 2697563002: Pass time since profile was loaded and request count on each ListAccount request to Gaia. (Closed)
Patch Set: Fix unit tests Created 3 years, 10 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 | « no previous file | components/signin/core/browser/gaia_cookie_manager_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/signin/core/browser/gaia_cookie_manager_service.h
diff --git a/components/signin/core/browser/gaia_cookie_manager_service.h b/components/signin/core/browser/gaia_cookie_manager_service.h
index ae4246422c185e88fd3d9f3f17a7e5b7c2f945f2..ae8a894730fbb14620a50f8b21e240010f55faa2 100644
--- a/components/signin/core/browser/gaia_cookie_manager_service.h
+++ b/components/signin/core/browser/gaia_cookie_manager_service.h
@@ -327,6 +327,14 @@ class GaiaCookieManagerService : public KeyedService,
bool list_accounts_stale_;
+ // The time when the profile was loaded and used to compute the time passed
+ // between the moment the profile was loaded and the moment a new list
+ // account request is started.
+ base::Time profile_load_time_;
+
+ // Counter for list account requests.
+ int list_accounts_request_counter_;
+
DISALLOW_COPY_AND_ASSIGN(GaiaCookieManagerService);
};
« no previous file with comments | « no previous file | components/signin/core/browser/gaia_cookie_manager_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698