| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/fake_profile_oauth2_token_service.h" | 5 #include "components/signin/core/browser/fake_profile_oauth2_token_service.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/location.h" | 8 #include "base/location.h" |
| 9 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
| 10 #include "base/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
| 11 #include "google_apis/gaia/fake_oauth2_token_service_delegate.h" | 11 #include "google_apis/gaia/fake_oauth2_token_service_delegate.h" |
| 12 | 12 |
| 13 FakeProfileOAuth2TokenService::PendingRequest::PendingRequest() {} | 13 FakeProfileOAuth2TokenService::PendingRequest::PendingRequest() {} |
| 14 | 14 |
| 15 FakeProfileOAuth2TokenService::PendingRequest::PendingRequest( | 15 FakeProfileOAuth2TokenService::PendingRequest::PendingRequest( |
| 16 const PendingRequest& other) = default; | 16 const PendingRequest& other) = default; |
| 17 | 17 |
| 18 FakeProfileOAuth2TokenService::PendingRequest::~PendingRequest() {} | 18 FakeProfileOAuth2TokenService::PendingRequest::~PendingRequest() {} |
| 19 | 19 |
| 20 FakeProfileOAuth2TokenService::FakeProfileOAuth2TokenService() | 20 FakeProfileOAuth2TokenService::FakeProfileOAuth2TokenService() |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 } | 129 } |
| 130 } | 130 } |
| 131 | 131 |
| 132 void FakeProfileOAuth2TokenService::InvalidateAccessTokenImpl( | 132 void FakeProfileOAuth2TokenService::InvalidateAccessTokenImpl( |
| 133 const std::string& account_id, | 133 const std::string& account_id, |
| 134 const std::string& client_id, | 134 const std::string& client_id, |
| 135 const ScopeSet& scopes, | 135 const ScopeSet& scopes, |
| 136 const std::string& access_token) { | 136 const std::string& access_token) { |
| 137 // Do nothing, as we don't have a cache from which to remove the token. | 137 // Do nothing, as we don't have a cache from which to remove the token. |
| 138 } | 138 } |
| OLD | NEW |