Index: chrome/browser/sync/profile_sync_service_typed_url_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc |
index 47808bcfe0fe8b6fb3b009bfd08f80df59edbfa4..c125facf6ba575afd61a5552095d069ecd0565c9 100644 |
--- a/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_typed_url_unittest.cc |
@@ -21,6 +21,7 @@ |
#include "chrome/browser/history/history_service.h" |
#include "chrome/browser/history/history_service_factory.h" |
#include "chrome/browser/history/history_types.h" |
+#include "chrome/browser/invalidation/invalidation_service_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" |
@@ -174,6 +175,8 @@ class ProfileSyncServiceTypedUrlTest : public AbstractProfileSyncServiceTest { |
virtual void SetUp() { |
AbstractProfileSyncServiceTest::SetUp(); |
profile_.CreateRequestContext(); |
+ invalidation::InvalidationServiceFactory::GetInstance()-> |
+ SetBuildOnlyFakeInvalidatorsForTest(true); |
history_backend_ = new HistoryBackendMock(); |
history_service_ = static_cast<HistoryServiceMock*>( |
HistoryServiceFactory::GetInstance()->SetTestingFactoryAndUse( |