| Index: chrome/browser/sync/profile_sync_service_session_unittest.cc
|
| diff --git a/chrome/browser/sync/profile_sync_service_session_unittest.cc b/chrome/browser/sync/profile_sync_service_session_unittest.cc
|
| index 1ee92a6ec5a72ecf2869a11c4c88495fa1e41795..3ab1f0c9d6c3f404e22bba4f0b256ee01c11e04e 100644
|
| --- a/chrome/browser/sync/profile_sync_service_session_unittest.cc
|
| +++ b/chrome/browser/sync/profile_sync_service_session_unittest.cc
|
| @@ -16,6 +16,7 @@
|
| #include "base/stl_util.h"
|
| #include "base/time.h"
|
| #include "base/utf_string_conversions.h"
|
| +#include "chrome/browser/invalidation_service_factory.h"
|
| #include "chrome/browser/sessions/session_types_test_helper.h"
|
| #include "chrome/browser/signin/signin_manager.h"
|
| #include "chrome/browser/signin/signin_manager_factory.h"
|
| @@ -205,6 +206,8 @@ class ProfileSyncServiceSessionTest
|
| // Don't want the profile to create a real ProfileSyncService.
|
| ProfileSyncServiceFactory::GetInstance()->SetTestingFactory(profile,
|
| NULL);
|
| + InvalidationServiceFactory::GetInstance()->SetTestingFactory(
|
| + profile, InvalidationServiceFactory::BuildTestServiceInstanceFor);
|
| return profile;
|
| }
|
|
|
|
|