OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "google_apis/gaia/fake_oauth2_token_service.h" |
| 6 |
| 7 FakeOAuth2TokenService::FakeOAuth2TokenService() { |
| 8 } |
| 9 |
| 10 FakeOAuth2TokenService::~FakeOAuth2TokenService() { |
| 11 } |
| 12 |
| 13 std::string FakeOAuth2TokenService::GetRefreshToken( |
| 14 const std::string& account_id) { |
| 15 return std::string(); |
| 16 } |
| 17 |
| 18 void FakeOAuth2TokenService::FetchOAuth2Token( |
| 19 RequestImpl* request, |
| 20 const std::string& account_id, |
| 21 net::URLRequestContextGetter* getter, |
| 22 const std::string& client_id, |
| 23 const std::string& client_secret, |
| 24 const ScopeSet& scopes) { |
| 25 } |
| 26 |
| 27 void FakeOAuth2TokenService::InvalidateOAuth2Token( |
| 28 const std::string& account_id, |
| 29 const std::string& client_id, |
| 30 const ScopeSet& scopes, |
| 31 const std::string& access_token) { |
| 32 } |
| 33 |
| 34 net::URLRequestContextGetter* FakeOAuth2TokenService::GetRequestContext() { |
| 35 return NULL; |
| 36 } |
OLD | NEW |