Index: chrome/browser/invalidation/ticl_invalidation_service_unittest.cc |
diff --git a/chrome/browser/invalidation/ticl_invalidation_service_unittest.cc b/chrome/browser/invalidation/ticl_invalidation_service_unittest.cc |
index 314e8a70f3d1450b2fba5425490500e4cc02d9c6..d22b3d338b2c784f8688d78e4fe16ca7bcf55c5c 100644 |
--- a/chrome/browser/invalidation/ticl_invalidation_service_unittest.cc |
+++ b/chrome/browser/invalidation/ticl_invalidation_service_unittest.cc |
@@ -7,6 +7,7 @@ |
#include "chrome/browser/invalidation/invalidation_service_factory.h" |
#include "chrome/browser/invalidation/invalidation_service_test_template.h" |
#include "chrome/test/base/testing_profile.h" |
+#include "content/public/test/test_browser_thread_bundle.h" |
#include "sync/notifier/fake_invalidation_handler.h" |
#include "sync/notifier/fake_invalidator.h" |
#include "sync/notifier/invalidation_util.h" |
@@ -23,6 +24,7 @@ class TiclInvalidationServiceTestDelegate { |
} |
void CreateInvalidationService() { |
+ thread_bundle_.reset(new content::TestBrowserThreadBundle()); |
fake_invalidator_ = new syncer::FakeInvalidator(); |
profile_.reset(new TestingProfile()); |
invalidation_service_.reset( |
@@ -48,6 +50,7 @@ class TiclInvalidationServiceTestDelegate { |
} |
syncer::FakeInvalidator* fake_invalidator_; // owned by the service. |
+ scoped_ptr<content::TestBrowserThreadBundle> thread_bundle_; |
scoped_ptr<TiclInvalidationService> invalidation_service_; |
scoped_ptr<TestingProfile> profile_; |
}; |