Index: chrome/browser/sync/profile_sync_service_password_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_password_unittest.cc b/chrome/browser/sync/profile_sync_service_password_unittest.cc |
index 54695a15ddd4802417cea1825295eda143a9973b..fec5344b939b8bfec3b151f3fde9ebf50b22430b 100644 |
--- a/chrome/browser/sync/profile_sync_service_password_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_password_unittest.cc |
@@ -20,7 +20,6 @@ |
#include "chrome/browser/password_manager/password_store_factory.h" |
#include "chrome/browser/signin/signin_manager.h" |
#include "chrome/browser/signin/signin_manager_factory.h" |
-#include "chrome/browser/signin/token_service_factory.h" |
#include "chrome/browser/sync/abstract_profile_sync_service_test.h" |
#include "chrome/browser/sync/fake_oauth2_token_service.h" |
#include "chrome/browser/sync/glue/password_change_processor.h" |
@@ -197,9 +196,6 @@ class ProfileSyncServicePasswordTest : public AbstractProfileSyncServiceTest { |
SigninManagerBase* signin = |
SigninManagerFactory::GetForProfile(profile_.get()); |
signin->SetAuthenticatedUsername("test_user@gmail.com"); |
- token_service_ = static_cast<TokenService*>( |
- TokenServiceFactory::GetInstance()->SetTestingFactoryAndUse( |
- profile_.get(), BuildTokenService)); |
PasswordTestProfileSyncService* sync = |
static_cast<PasswordTestProfileSyncService*>( |