| 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 bf839be8f8db88eeb339d24d951e1ea103b54f61..5bcc62f260f155465bcc58bf69b97dd8354d5348 100644
|
| --- a/chrome/browser/sync/profile_sync_service_password_unittest.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_password_unittest.cc
|
| @@ -13,6 +13,7 @@
|
| #include "base/test/test_timeouts.h"
|
| #include "base/time.h"
|
| #include "base/utf_string_conversions.h"
|
| +#include "chrome/browser/invalidation_service_factory.h"
|
| #include "chrome/browser/password_manager/mock_password_store.h"
|
| #include "chrome/browser/password_manager/password_store.h"
|
| #include "chrome/browser/password_manager/password_store_factory.h"
|
| @@ -169,6 +170,8 @@ class ProfileSyncServicePasswordTest : public AbstractProfileSyncServiceTest {
|
| virtual void SetUp() {
|
| AbstractProfileSyncServiceTest::SetUp();
|
| profile_.CreateRequestContext();
|
| + InvalidationServiceFactory::GetInstance()->SetTestingFactory(
|
| + &profile_, InvalidationServiceFactory::BuildTestServiceInstanceFor);
|
| password_store_ = static_cast<MockPasswordStore*>(
|
| PasswordStoreFactory::GetInstance()->SetTestingFactoryAndUse(
|
| &profile_, MockPasswordStore::Build).get());
|
| @@ -199,7 +202,7 @@ class ProfileSyncServicePasswordTest : public AbstractProfileSyncServiceTest {
|
| const base::Closure& node_callback) {
|
| if (!sync_service_) {
|
| SigninManager* signin = SigninManagerFactory::GetForProfile(&profile_);
|
| - signin->SetAuthenticatedUsername("test_user");
|
| + signin->SetAuthenticatedUsername("testuser@gmail.com");
|
| token_service_ = static_cast<TokenService*>(
|
| TokenServiceFactory::GetInstance()->SetTestingFactoryAndUse(
|
| &profile_, BuildTokenService));
|
|
|