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

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

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.cc
diff --git a/chrome/browser/signin/fake_profile_oauth2_token_service.cc b/chrome/browser/signin/fake_profile_oauth2_token_service.cc
index e1842eb558981452422fe797fd4ba7ee01348204..081744f43d4e19e8d7f228617b85cb1314cb9087 100644
--- a/chrome/browser/signin/fake_profile_oauth2_token_service.cc
+++ b/chrome/browser/signin/fake_profile_oauth2_token_service.cc
@@ -13,23 +13,6 @@ FakeProfileOAuth2TokenService::PendingRequest::PendingRequest() {
FakeProfileOAuth2TokenService::PendingRequest::~PendingRequest() {
}
-// static
-BrowserContextKeyedService* FakeProfileOAuth2TokenService::Build(
- content::BrowserContext* profile) {
- FakeProfileOAuth2TokenService* service = new FakeProfileOAuth2TokenService();
- service->Initialize(reinterpret_cast<Profile*>(profile));
- return service;
-}
-
-BrowserContextKeyedService*
-FakeProfileOAuth2TokenService::BuildAutoIssuingTokenService(
- content::BrowserContext* profile) {
- FakeProfileOAuth2TokenService* service = new FakeProfileOAuth2TokenService();
- service->set_auto_post_fetch_response_on_message_loop(true);
- service->Initialize(reinterpret_cast<Profile*>(profile));
- return service;
-}
-
FakeProfileOAuth2TokenService::FakeProfileOAuth2TokenService()
: auto_post_fetch_response_on_message_loop_(false) {
SigninAccountIdHelper::SetDisableForTest(true);

Powered by Google App Engine
This is Rietveld 408576698