| 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 542b08246315b297e9af5ca1771a8daae940101c..e73970f6bc4cdd7c71bb11fa1adb3a46039de21a 100644
|
| --- a/sync/internal_api/sync_manager_impl_unittest.cc
|
| +++ b/sync/internal_api/sync_manager_impl_unittest.cc
|
| @@ -66,6 +66,7 @@
|
| #include "sync/syncable/syncable_util.h"
|
| #include "sync/syncable/syncable_write_transaction.h"
|
| #include "sync/test/callback_counter.h"
|
| +#include "sync/test/engine/fake_model_worker.h"
|
| #include "sync/test/engine/fake_sync_scheduler.h"
|
| #include "sync/test/engine/test_id_factory.h"
|
| #include "sync/test/fake_encryptor.h"
|
| @@ -815,6 +816,12 @@ class SyncManagerTest : public testing::Test,
|
| ModelSafeRoutingInfo routing_info;
|
| GetModelSafeRoutingInfo(&routing_info);
|
|
|
| + // This works only because all routing info types are GROUP_PASSIVE.
|
| + // If we had types in other groups, we would need additional workers
|
| + // to support them.
|
| + scoped_refptr<ModelSafeWorker> worker = new FakeModelWorker(GROUP_PASSIVE);
|
| + workers.push_back(worker.get());
|
| +
|
| // Takes ownership of |fake_invalidator_|.
|
| sync_manager_.Init(
|
| temp_dir_.path(),
|
|
|