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_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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 void CleanupTransientState(); | 156 void CleanupTransientState(); |
157 | 157 |
158 void GetCheckConnectionInfoCompleted(bool succeeded); | 158 void GetCheckConnectionInfoCompleted(bool succeeded); |
159 | 159 |
160 GaiaCookieManagerService* helper_; | 160 GaiaCookieManagerService* helper_; |
161 base::OneShotTimer timer_; | 161 base::OneShotTimer timer_; |
162 URLToTokenAndFetcher fetchers_; | 162 URLToTokenAndFetcher fetchers_; |
163 ResultMap results_; | 163 ResultMap results_; |
164 base::Time m_external_cc_result_start_time_; | 164 base::Time m_external_cc_result_start_time_; |
165 | 165 |
166 base::OneShotTimer gaia_auth_fetcher_timer_; | |
167 | |
168 DISALLOW_COPY_AND_ASSIGN(ExternalCcResultFetcher); | 166 DISALLOW_COPY_AND_ASSIGN(ExternalCcResultFetcher); |
169 }; | 167 }; |
170 | 168 |
171 GaiaCookieManagerService(OAuth2TokenService* token_service, | 169 GaiaCookieManagerService(OAuth2TokenService* token_service, |
172 const std::string& source, | 170 const std::string& source, |
173 SigninClient* signin_client); | 171 SigninClient* signin_client); |
174 ~GaiaCookieManagerService() override; | 172 ~GaiaCookieManagerService() override; |
175 | 173 |
176 void Init(); | 174 void Init(); |
177 void Shutdown() override; | 175 void Shutdown() override; |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 | 322 |
325 std::vector<gaia::ListedAccount> listed_accounts_; | 323 std::vector<gaia::ListedAccount> listed_accounts_; |
326 std::vector<gaia::ListedAccount> signed_out_accounts_; | 324 std::vector<gaia::ListedAccount> signed_out_accounts_; |
327 | 325 |
328 bool list_accounts_stale_; | 326 bool list_accounts_stale_; |
329 | 327 |
330 DISALLOW_COPY_AND_ASSIGN(GaiaCookieManagerService); | 328 DISALLOW_COPY_AND_ASSIGN(GaiaCookieManagerService); |
331 }; | 329 }; |
332 | 330 |
333 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_GAIA_COOKIE_MANAGER_SERVICE_H_ | 331 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_GAIA_COOKIE_MANAGER_SERVICE_H_ |
OLD | NEW |