fake_oauth2_token_service.cc revision 5d1f7b1de12d16ceb2c938c56701a3e8bfa558f7
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 7FakeOAuth2TokenService::FakeOAuth2TokenService() { 8} 9 10FakeOAuth2TokenService::~FakeOAuth2TokenService() { 11} 12 13std::string FakeOAuth2TokenService::GetRefreshToken( 14 const std::string& account_id) { 15 return std::string(); 16} 17 18void 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 27void 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 34net::URLRequestContextGetter* FakeOAuth2TokenService::GetRequestContext() { 35 return NULL; 36} 37