Index: sync/internal_api/sync_manager_impl_unittest.cc |
diff --git a/sync/internal_api/sync_manager_impl_unittest.cc b/sync/internal_api/sync_manager_impl_unittest.cc |
index 06bc7831715d723e7f93e44571946c4709a1efd7..b292f96dc32e558872ca9777a6c82894dd20969e 100644 |
--- a/sync/internal_api/sync_manager_impl_unittest.cc |
+++ b/sync/internal_api/sync_manager_impl_unittest.cc |
@@ -24,6 +24,7 @@ |
#include "base/test/values_test_util.h" |
#include "base/values.h" |
#include "sync/engine/sync_scheduler.h" |
+#include "sync/internal_api/public/base/cancellation_signal.h" |
#include "sync/internal_api/public/base/model_type_test_util.h" |
#include "sync/internal_api/public/change_record.h" |
#include "sync/internal_api/public/engine/model_safe_worker.h" |
@@ -835,7 +836,8 @@ class SyncManagerTest : public testing::Test, |
scoped_ptr<UnrecoverableErrorHandler>( |
new TestUnrecoverableErrorHandler).Pass(), |
NULL, |
- false); |
+ false, |
+ &cancellation_signal_); |
sync_manager_.GetEncryptionHandler()->AddObserver(&encryption_observer_); |
@@ -1017,6 +1019,7 @@ class SyncManagerTest : public testing::Test, |
protected: |
FakeEncryptor encryptor_; |
SyncManagerImpl sync_manager_; |
+ CancellationSignal cancellation_signal_; |
WeakHandle<JsBackend> js_backend_; |
StrictMock<SyncManagerObserverMock> manager_observer_; |
StrictMock<SyncEncryptionHandlerObserverMock> encryption_observer_; |
@@ -2795,7 +2798,8 @@ class ComponentsFactory : public TestInternalComponentsFactory { |
virtual scoped_ptr<SyncScheduler> BuildScheduler( |
const std::string& name, |
- sessions::SyncSessionContext* context) OVERRIDE { |
+ sessions::SyncSessionContext* context, |
+ CancellationSignal* stop_handle) OVERRIDE { |
*session_context_ = context; |
return scheduler_to_use_.Pass(); |
} |