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

Side by Side 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, 9 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_GAIA_COOKIE_MANAGER_SERVICE_H_ 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_GAIA_COOKIE_MANAGER_SERVICE_H_
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_GAIA_COOKIE_MANAGER_SERVICE_H_ 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_GAIA_COOKIE_MANAGER_SERVICE_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <memory> 10 #include <memory>
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 std::string source_; 320 std::string source_;
321 321
322 // True once the ExternalCCResultFetcher has completed once. 322 // True once the ExternalCCResultFetcher has completed once.
323 bool external_cc_result_fetched_; 323 bool external_cc_result_fetched_;
324 324
325 std::vector<gaia::ListedAccount> listed_accounts_; 325 std::vector<gaia::ListedAccount> listed_accounts_;
326 std::vector<gaia::ListedAccount> signed_out_accounts_; 326 std::vector<gaia::ListedAccount> signed_out_accounts_;
327 327
328 bool list_accounts_stale_; 328 bool list_accounts_stale_;
329 329
330 // The time when the profile was loaded and used to compute the time passed
331 // between the moment the profile was loaded and the moment a new list
332 // account request is started.
333 base::Time profile_load_time_;
334
335 // Counter for list account requests.
336 int list_accounts_request_counter_;
337
330 DISALLOW_COPY_AND_ASSIGN(GaiaCookieManagerService); 338 DISALLOW_COPY_AND_ASSIGN(GaiaCookieManagerService);
331 }; 339 };
332 340
333 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_GAIA_COOKIE_MANAGER_SERVICE_H_ 341 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_GAIA_COOKIE_MANAGER_SERVICE_H_
OLDNEW
« 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