Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3720)

Unified Diff: chrome/browser/sync/fake_oauth2_token_service.h

Issue 136723009: Move UbertokenFetcher from //chrome to //google_apis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/fake_oauth2_token_service.h
diff --git a/chrome/browser/sync/fake_oauth2_token_service.h b/chrome/browser/sync/fake_oauth2_token_service.h
deleted file mode 100644
index 8da67fa568feb8808bb5e85f2d7a73fc73e11614..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/fake_oauth2_token_service.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2013 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.
-
-#ifndef CHROME_BROWSER_SYNC_FAKE_OAUTH2_TOKEN_SERVICE_H_
-#define CHROME_BROWSER_SYNC_FAKE_OAUTH2_TOKEN_SERVICE_H_
-
-#include "chrome/browser/signin/profile_oauth2_token_service.h"
-
-namespace content {
-class BrowserContext;
-}
-
-class FakeOAuth2TokenService : public ProfileOAuth2TokenService {
- public:
- static BrowserContextKeyedService* BuildTokenService(
- content::BrowserContext* context);
-
- virtual bool RefreshTokenIsAvailable(
- const std::string& account_id) OVERRIDE;
-
- virtual void UpdateCredentials(const std::string& account_id,
- const std::string& refresh_token) OVERRIDE;
-
- protected:
- virtual void FetchOAuth2Token(
- OAuth2TokenService::RequestImpl* request,
- const std::string& account_id,
- net::URLRequestContextGetter* getter,
- const std::string& client_id,
- const std::string& client_secret,
- const OAuth2TokenService::ScopeSet& scopes) OVERRIDE;
-
- private:
- std::string account_id_;
- std::string refresh_token_;
-};
-
-#endif // CHROME_BROWSER_SYNC_FAKE_OAUTH2_TOKEN_SERVICE_H_
« no previous file with comments | « chrome/browser/signin/ubertoken_fetcher_unittest.cc ('k') | chrome/browser/sync/fake_oauth2_token_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698