| 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 #include "components/signin/core/browser/gaia_cookie_manager_service.h" | 5 #include "components/signin/core/browser/gaia_cookie_manager_service.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include <queue> | 9 #include <queue> |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "base/json/json_reader.h" | 12 #include "base/json/json_reader.h" |
| 11 #include "base/metrics/histogram_macros.h" | 13 #include "base/metrics/histogram_macros.h" |
| 12 #include "base/stl_util.h" | 14 #include "base/stl_util.h" |
| 13 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
| 14 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
| 15 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 16 #include "base/values.h" | 18 #include "base/values.h" |
| (...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 704 break; | 706 break; |
| 705 case GaiaCookieRequestType::LIST_ACCOUNTS: | 707 case GaiaCookieRequestType::LIST_ACCOUNTS: |
| 706 uber_token_fetcher_.reset(); | 708 uber_token_fetcher_.reset(); |
| 707 signin_client_->DelayNetworkCall( | 709 signin_client_->DelayNetworkCall( |
| 708 base::Bind(&GaiaCookieManagerService::StartFetchingListAccounts, | 710 base::Bind(&GaiaCookieManagerService::StartFetchingListAccounts, |
| 709 base::Unretained(this))); | 711 base::Unretained(this))); |
| 710 break; | 712 break; |
| 711 }; | 713 }; |
| 712 } | 714 } |
| 713 } | 715 } |
| OLD | NEW |