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

Unified Diff: chrome/browser/signin/fake_profile_oauth2_token_service.h

Issue 148513010: Eliminate ProfileOAuth2TokenService being a BCKS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Response to review Created 6 years, 10 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/signin/fake_profile_oauth2_token_service.h
diff --git a/chrome/browser/signin/fake_profile_oauth2_token_service.h b/chrome/browser/signin/fake_profile_oauth2_token_service.h
index cc5cbc9a784936a9ca9744af3bb81b619a69e25d..14cc3cc8055bc9add52c9fdef8e69b09605810a1 100644
--- a/chrome/browser/signin/fake_profile_oauth2_token_service.h
+++ b/chrome/browser/signin/fake_profile_oauth2_token_service.h
@@ -17,10 +17,6 @@
#include "chrome/browser/signin/profile_oauth2_token_service.h"
#endif
-namespace content {
-class BrowserContext;
-}
-
// Helper class to simplify writing unittests that depend on an instance of
// ProfileOAuth2TokenService.
//
@@ -108,17 +104,6 @@ class FakeProfileOAuth2TokenService
auto_post_fetch_response_on_message_loop_ = auto_post_response;
}
- // Helper function to be used with
- // BrowserContextKeyedService::SetTestingFactory().
- static BrowserContextKeyedService* Build(content::BrowserContext* profile);
-
- // Helper function to be used with
- // BrowserContextKeyedService::SetTestingFactory() that creates a
- // FakeProfileOAuth2TokenService object that posts fetch responses on the
- // current message loop.
- static BrowserContextKeyedService* BuildAutoIssuingTokenService(
- content::BrowserContext* profile);
-
protected:
// OAuth2TokenService overrides.
virtual void FetchOAuth2Token(RequestImpl* request,

Powered by Google App Engine
This is Rietveld 408576698