| 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 b8fd5d7dab6726fcd43a308e06e3c7aeb6d2e467..b469f93e710bce021705319adade307d3a2ff781 100644
|
| --- a/chrome/browser/sync/profile_sync_service_password_unittest.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_password_unittest.cc
|
| @@ -13,6 +13,8 @@
|
| #include "base/synchronization/waitable_event.h"
|
| #include "base/test/test_timeouts.h"
|
| #include "base/time.h"
|
| +#include "base/utf_string_conversions.h"
|
| +#include "chrome/browser/invalidation/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"
|
| @@ -154,6 +156,8 @@ class ProfileSyncServicePasswordTest : public AbstractProfileSyncServiceTest {
|
| virtual void SetUp() {
|
| AbstractProfileSyncServiceTest::SetUp();
|
| profile_.CreateRequestContext();
|
| + invalidation::InvalidationServiceFactory::GetInstance()->
|
| + SetBuildOnlyFakeInvalidatorsForTest(true);
|
| password_store_ = static_cast<MockPasswordStore*>(
|
| PasswordStoreFactory::GetInstance()->SetTestingFactoryAndUse(
|
| &profile_, MockPasswordStore::Build).get());
|
| @@ -185,7 +189,7 @@ class ProfileSyncServicePasswordTest : public AbstractProfileSyncServiceTest {
|
| if (!sync_service_) {
|
| SigninManagerBase* signin =
|
| SigninManagerFactory::GetForProfile(&profile_);
|
| - signin->SetAuthenticatedUsername("test_user");
|
| + signin->SetAuthenticatedUsername("test_user@gmail.com");
|
| token_service_ = static_cast<TokenService*>(
|
| TokenServiceFactory::GetInstance()->SetTestingFactoryAndUse(
|
| &profile_, BuildTokenService));
|
|
|