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

Unified Diff: google_apis/gaia/gaia_auth_fetcher.h

Issue 2697563002: Pass time since profile was loaded and request count on each ListAccount request to Gaia. (Closed)
Patch Set: Nit 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
Index: google_apis/gaia/gaia_auth_fetcher.h
diff --git a/google_apis/gaia/gaia_auth_fetcher.h b/google_apis/gaia/gaia_auth_fetcher.h
index c6f0981df0c4e8647812d292014f2370d8a2fc59..5dc4e07d10e780e38d70bbb45f3341b6a197bd4f 100644
--- a/google_apis/gaia/gaia_auth_fetcher.h
+++ b/google_apis/gaia/gaia_auth_fetcher.h
@@ -11,6 +11,7 @@
#include "base/gtest_prod_util.h"
#include "base/macros.h"
+#include "base/time/time.h"
#include "google_apis/gaia/gaia_auth_consumer.h"
#include "google_apis/gaia/google_service_auth_error.h"
#include "net/url_request/url_fetcher_delegate.h"
@@ -185,7 +186,13 @@ class GaiaAuthFetcher : public net::URLFetcherDelegate {
const std::string& service);
// Starts a request to list the accounts in the GAIA cookie.
- void StartListAccounts();
+ //
+ // |profile_load_time| is the origin time used to report to Gaia the time
+ // passed between the moment the profile was loaded and the moment this list
+ // accounts requests is started. This information is required in order to
+ // debug channel ID mismatches observed on the server related to requests
+ // from Chrome (see http://crbug.com/633256).
+ void StartListAccounts(const base::Time& profile_load_time);
// Starts a request to log out the accounts in the GAIA cookie.
void StartLogOut();

Powered by Google App Engine
This is Rietveld 408576698