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

Side by Side Diff: components/signin/core/browser/account_fetcher_service.h

Issue 1376933005: Reflect email address changes in the Avatar Menu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/account_fetcher_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_ACCOUNT_FETCHER_SERVICE_H_ 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_FETCHER_SERVICE_H_
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_FETCHER_SERVICE_H_ 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_FETCHER_SERVICE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 AccountTrackerService* account_tracker_service_; // Not owned. 111 AccountTrackerService* account_tracker_service_; // Not owned.
112 OAuth2TokenService* token_service_; // Not owned. 112 OAuth2TokenService* token_service_; // Not owned.
113 SigninClient* signin_client_; // Not owned. 113 SigninClient* signin_client_; // Not owned.
114 invalidation::InvalidationService* invalidation_service_; // Not owned. 114 invalidation::InvalidationService* invalidation_service_; // Not owned.
115 bool network_fetches_enabled_; 115 bool network_fetches_enabled_;
116 std::list<std::string> pending_user_info_fetches_; 116 std::list<std::string> pending_user_info_fetches_;
117 base::Time last_updated_; 117 base::Time last_updated_;
118 base::OneShotTimer timer_; 118 base::OneShotTimer timer_;
119 bool shutdown_called_; 119 bool shutdown_called_;
120 bool refresh_required_on_load_;
120 121
121 std::string child_request_account_id_; 122 std::string child_request_account_id_;
122 scoped_ptr<ChildAccountInfoFetcher> child_info_request_; 123 scoped_ptr<ChildAccountInfoFetcher> child_info_request_;
123 124
124 // Holds references to account info fetchers keyed by account_id. 125 // Holds references to account info fetchers keyed by account_id.
125 base::ScopedPtrHashMap<std::string, scoped_ptr<AccountInfoFetcher>> 126 base::ScopedPtrHashMap<std::string, scoped_ptr<AccountInfoFetcher>>
126 user_info_requests_; 127 user_info_requests_;
127 // Holds references to refresh token annotation requests keyed by account_id. 128 // Holds references to refresh token annotation requests keyed by account_id.
128 base::ScopedPtrHashMap<std::string, scoped_ptr<RefreshTokenAnnotationRequest>> 129 base::ScopedPtrHashMap<std::string, scoped_ptr<RefreshTokenAnnotationRequest>>
129 refresh_token_annotation_requests_; 130 refresh_token_annotation_requests_;
130 131
131 DISALLOW_COPY_AND_ASSIGN(AccountFetcherService); 132 DISALLOW_COPY_AND_ASSIGN(AccountFetcherService);
132 }; 133 };
133 134
134 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_FETCHER_SERVICE_H_ 135 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_FETCHER_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | components/signin/core/browser/account_fetcher_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698