OLD | NEW |
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_ACCOUNT_TRACKER_SERVICE_H_ | 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_TRACKER_SERVICE_H_ |
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_TRACKER_SERVICE_H_ | 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_TRACKER_SERVICE_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 OAuth2TokenService* token_service_; // Not owned. | 169 OAuth2TokenService* token_service_; // Not owned. |
170 SigninClient* signin_client_; // Not owned. | 170 SigninClient* signin_client_; // Not owned. |
171 std::map<std::string, AccountInfoFetcher*> user_info_requests_; | 171 std::map<std::string, AccountInfoFetcher*> user_info_requests_; |
172 std::map<std::string, AccountState> accounts_; | 172 std::map<std::string, AccountState> accounts_; |
173 ObserverList<Observer> observer_list_; | 173 ObserverList<Observer> observer_list_; |
174 bool shutdown_called_; | 174 bool shutdown_called_; |
175 bool network_fetches_enabled_; | 175 bool network_fetches_enabled_; |
176 std::list<std::string> pending_user_info_fetches_; | 176 std::list<std::string> pending_user_info_fetches_; |
177 | 177 |
178 // Holds references to refresh token annotation requests keyed by account_id. | 178 // Holds references to refresh token annotation requests keyed by account_id. |
179 base::ScopedPtrHashMap<std::string, RefreshTokenAnnotationRequest> | 179 base::ScopedPtrHashMap<std::string, scoped_ptr<RefreshTokenAnnotationRequest>> |
180 refresh_token_annotation_requests_; | 180 refresh_token_annotation_requests_; |
181 | 181 |
182 DISALLOW_COPY_AND_ASSIGN(AccountTrackerService); | 182 DISALLOW_COPY_AND_ASSIGN(AccountTrackerService); |
183 }; | 183 }; |
184 | 184 |
185 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_TRACKER_SERVICE_H_ | 185 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_ACCOUNT_TRACKER_SERVICE_H_ |
OLD | NEW |