| 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 | 9 |
| 10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 scoped_ptr<SigninClient::CookieChangedSubscription> | 260 scoped_ptr<SigninClient::CookieChangedSubscription> |
| 261 cookie_changed_subscription_; | 261 cookie_changed_subscription_; |
| 262 | 262 |
| 263 // A worklist for this class. Stores any pending requests that couldn't be | 263 // A worklist for this class. Stores any pending requests that couldn't be |
| 264 // executed right away, since this class only permits one request to be | 264 // executed right away, since this class only permits one request to be |
| 265 // executed at a time. | 265 // executed at a time. |
| 266 std::deque<GaiaCookieRequest> requests_; | 266 std::deque<GaiaCookieRequest> requests_; |
| 267 | 267 |
| 268 // List of observers to notify when merge session completes. | 268 // List of observers to notify when merge session completes. |
| 269 // Makes sure list is empty on destruction. | 269 // Makes sure list is empty on destruction. |
| 270 ObserverList<Observer, true> observer_list_; | 270 base::ObserverList<Observer, true> observer_list_; |
| 271 | 271 |
| 272 // Source to use with GAIA endpoints for accounting. | 272 // Source to use with GAIA endpoints for accounting. |
| 273 std::string source_; | 273 std::string source_; |
| 274 | 274 |
| 275 // True once the ExternalCCResultFetcher has completed once. | 275 // True once the ExternalCCResultFetcher has completed once. |
| 276 bool external_cc_result_fetched_; | 276 bool external_cc_result_fetched_; |
| 277 | 277 |
| 278 std::vector<std::pair<std::string, bool> > listed_accounts_; | 278 std::vector<std::pair<std::string, bool> > listed_accounts_; |
| 279 | 279 |
| 280 bool list_accounts_fetched_once_; | 280 bool list_accounts_fetched_once_; |
| 281 | 281 |
| 282 DISALLOW_COPY_AND_ASSIGN(GaiaCookieManagerService); | 282 DISALLOW_COPY_AND_ASSIGN(GaiaCookieManagerService); |
| 283 }; | 283 }; |
| 284 | 284 |
| 285 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_GAIA_COOKIE_MANAGER_SERVICE_H | 285 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_GAIA_COOKIE_MANAGER_SERVICE_H |
| OLD | NEW |