| 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 5518d4fa48d01af91ba31470a8907a01d94cf320..63f349350b9cd9308a2000ee98292ef7275c613d 100644
|
| --- a/sync/internal_api/sync_manager_impl_unittest.cc
|
| +++ b/sync/internal_api/sync_manager_impl_unittest.cc
|
| @@ -951,7 +951,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
|
| @@ -2410,7 +2412,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() {}
|
| @@ -3177,7 +3181,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);
|
| }
|
| };
|
|
|
|
|