| 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 148a8ede0609a6c25c3dfd52805f5b99e34d6790..0051898e665078d318e8c7f990b29329dd1ea65c 100644
|
| --- a/sync/internal_api/sync_manager_impl_unittest.cc
|
| +++ b/sync/internal_api/sync_manager_impl_unittest.cc
|
| @@ -955,7 +955,9 @@ class SyncManagerTest : public testing::Test,
|
| }
|
|
|
| virtual InternalComponentsFactory* GetFactory() {
|
| - return new TestInternalComponentsFactory(GetSwitches(), STORAGE_IN_MEMORY);
|
| + return new TestInternalComponentsFactory(
|
| + GetSwitches(), InternalComponentsFactory::STORAGE_IN_MEMORY,
|
| + InternalComponentsFactory::STORAGE_ON_DISK);
|
| }
|
|
|
| // Returns true if we are currently encrypting all sync data. May
|
| @@ -2414,7 +2416,9 @@ class ComponentsFactory : public TestInternalComponentsFactory {
|
| ComponentsFactory(const Switches& switches,
|
| SyncScheduler* scheduler_to_use,
|
| sessions::SyncSessionContext** session_context)
|
| - : TestInternalComponentsFactory(switches, syncer::STORAGE_IN_MEMORY),
|
| + : TestInternalComponentsFactory(
|
| + switches, InternalComponentsFactory::STORAGE_IN_MEMORY,
|
| + InternalComponentsFactory::STORAGE_ON_DISK),
|
| scheduler_to_use_(scheduler_to_use),
|
| session_context_(session_context) {}
|
| virtual ~ComponentsFactory() {}
|
| @@ -3181,7 +3185,9 @@ class SyncManagerInitInvalidStorageTest : public SyncManagerTest {
|
| }
|
|
|
| virtual InternalComponentsFactory* GetFactory() OVERRIDE {
|
| - return new TestInternalComponentsFactory(GetSwitches(), STORAGE_INVALID);
|
| + return new TestInternalComponentsFactory(
|
| + GetSwitches(), InternalComponentsFactory::STORAGE_INVALID,
|
| + InternalComponentsFactory::STORAGE_ON_DISK);
|
| }
|
| };
|
|
|
|
|