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

Unified Diff: chrome/browser/sync/profile_sync_service_startup_unittest.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/sync/profile_sync_service_startup_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_startup_unittest.cc b/chrome/browser/sync/profile_sync_service_startup_unittest.cc
index 5f37aefb4ae658db91d48a644e314c39a8908e8d..ab0a09f63160dc4532cfa5775fd0f37693ce08ef 100644
--- a/chrome/browser/sync/profile_sync_service_startup_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_startup_unittest.cc
@@ -7,6 +7,7 @@
#include "base/prefs/pref_service.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/signin/fake_profile_oauth2_token_service.h"
+#include "chrome/browser/signin/fake_profile_oauth2_token_service_wrapper.h"
#include "chrome/browser/signin/fake_signin_manager.h"
#include "chrome/browser/signin/profile_oauth2_token_service.h"
#include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
@@ -77,7 +78,7 @@ class ProfileSyncServiceStartupTest : public testing::Test {
FakeSigninManagerBase::Build);
builder.AddTestingFactory(
ProfileOAuth2TokenServiceFactory::GetInstance(),
- FakeProfileOAuth2TokenService::BuildAutoIssuingTokenService);
+ FakeProfileOAuth2TokenServiceWrapper::BuildAutoIssuingTokenService);
builder.AddTestingFactory(ProfileSyncServiceFactory::GetInstance(),
BuildService);
return builder.Build();

Powered by Google App Engine
This is Rietveld 408576698