| Index: chrome/browser/signin/fake_profile_oauth2_token_service_builder.cc
|
| diff --git a/chrome/browser/signin/fake_profile_oauth2_token_service_builder.cc b/chrome/browser/signin/fake_profile_oauth2_token_service_builder.cc
|
| index 90e9fe342bacca6d400622b9e8dad99aa84ce926..22003cc4a4736a306fcfd954d7b0a0c003234741 100644
|
| --- a/chrome/browser/signin/fake_profile_oauth2_token_service_builder.cc
|
| +++ b/chrome/browser/signin/fake_profile_oauth2_token_service_builder.cc
|
| @@ -11,21 +11,22 @@
|
| // TODO(blundell): Should these be namespaced?
|
| KeyedService* BuildFakeProfileOAuth2TokenService(
|
| content::BrowserContext* context) {
|
| - Profile* profile = Profile::FromBrowserContext(context);
|
| + // Profile* profile = Profile::FromBrowserContext(context);
|
| FakeProfileOAuth2TokenService* service = new FakeProfileOAuth2TokenService();
|
| - service->Initialize(
|
| - ChromeSigninClientFactory::GetInstance()->GetForProfile(profile),
|
| - SigninErrorControllerFactory::GetInstance()->GetForProfile(profile));
|
| + // service->Initialize(
|
| + // ChromeSigninClientFactory::GetInstance()->GetForProfile(profile),
|
| + // SigninErrorControllerFactory::GetInstance()->GetForProfile(profile));
|
| return service;
|
| }
|
|
|
| KeyedService* BuildAutoIssuingFakeProfileOAuth2TokenService(
|
| content::BrowserContext* context) {
|
| - Profile* profile = Profile::FromBrowserContext(context);
|
| + // Profile* profile = Profile::FromBrowserContext(context);
|
| FakeProfileOAuth2TokenService* service = new FakeProfileOAuth2TokenService();
|
| - service->set_auto_post_fetch_response_on_message_loop(true);
|
| - service->Initialize(
|
| - ChromeSigninClientFactory::GetInstance()->GetForProfile(profile),
|
| - SigninErrorControllerFactory::GetInstance()->GetForProfile(profile));
|
| + // service->set_auto_post_fetch_response_on_message_loop(true);
|
| + // service->Initialize(
|
| + // ChromeSigninClientFactory::GetInstance()->GetForProfile(profile),
|
| + //
|
| + // SigninErrorControllerFactory::GetInstance()->GetForProfile(profile));
|
| return service;
|
| }
|
|
|