Index: google_apis/gaia/fake_oauth2_token_service.cc |
diff --git a/google_apis/gaia/fake_oauth2_token_service.cc b/google_apis/gaia/fake_oauth2_token_service.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b85fa89003997a9220b4839aff47604d5022fa8d |
--- /dev/null |
+++ b/google_apis/gaia/fake_oauth2_token_service.cc |
@@ -0,0 +1,36 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "google_apis/gaia/fake_oauth2_token_service.h" |
+ |
+FakeOAuth2TokenService::FakeOAuth2TokenService() { |
+} |
+ |
+FakeOAuth2TokenService::~FakeOAuth2TokenService() { |
+} |
+ |
+std::string FakeOAuth2TokenService::GetRefreshToken( |
+ const std::string& account_id) { |
+ return std::string(); |
+} |
+ |
+void FakeOAuth2TokenService::FetchOAuth2Token( |
+ RequestImpl* request, |
+ const std::string& account_id, |
+ net::URLRequestContextGetter* getter, |
+ const std::string& client_id, |
+ const std::string& client_secret, |
+ const ScopeSet& scopes) { |
+} |
+ |
+void FakeOAuth2TokenService::InvalidateOAuth2Token( |
+ const std::string& account_id, |
+ const std::string& client_id, |
+ const ScopeSet& scopes, |
+ const std::string& access_token) { |
+} |
+ |
+net::URLRequestContextGetter* FakeOAuth2TokenService::GetRequestContext() { |
+ return NULL; |
+} |