Chromium Code Reviews| 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..f2a39401c2c9f4c01f5dc80b8829f452d320de69 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,10 @@ class SyncManagerTest : public testing::Test, |
| ModelSafeRoutingInfo routing_info; |
| GetModelSafeRoutingInfo(&routing_info); |
| + // This works only because all routing info types are GROUP_PASSIVE. |
|
Nicolas Zea
2013/11/19 22:45:26
It's not clear to me what this comment is for (wha
rlarocque
2013/11/21 18:28:47
Comment updated.
|
| + scoped_refptr<ModelSafeWorker> worker = new FakeModelWorker(GROUP_PASSIVE); |
| + workers.push_back(worker.get()); |
| + |
| // Takes ownership of |fake_invalidator_|. |
| sync_manager_.Init( |
| temp_dir_.path(), |