Index: sync/internal_api/public/test/test_internal_components_factory.h |
diff --git a/sync/internal_api/public/test/test_internal_components_factory.h b/sync/internal_api/public/test/test_internal_components_factory.h |
index e9ca6137c14af45b7ad02051a20235444187addb..d48855b9bf4e93e643d5cad11cebc79980026a72 100644 |
--- a/sync/internal_api/public/test/test_internal_components_factory.h |
+++ b/sync/internal_api/public/test/test_internal_components_factory.h |
@@ -21,7 +21,8 @@ enum StorageOption { |
class TestInternalComponentsFactory : public InternalComponentsFactory { |
public: |
- explicit TestInternalComponentsFactory(StorageOption option); |
+ explicit TestInternalComponentsFactory(const Switches& switches, |
+ StorageOption option); |
virtual ~TestInternalComponentsFactory(); |
virtual scoped_ptr<SyncScheduler> BuildScheduler( |
@@ -36,15 +37,17 @@ class TestInternalComponentsFactory : public InternalComponentsFactory { |
ThrottledDataTypeTracker* throttled_data_type_tracker, |
const std::vector<SyncEngineEventListener*>& listeners, |
sessions::DebugInfoGetter* debug_info_getter, |
- TrafficRecorder* traffic_recorder, |
- bool keystore_encryption_enabled) OVERRIDE; |
+ TrafficRecorder* traffic_recorder) OVERRIDE; |
virtual scoped_ptr<syncable::DirectoryBackingStore> |
BuildDirectoryBackingStore( |
const std::string& dir_name, |
const FilePath& backing_filepath) OVERRIDE; |
+ virtual Switches GetSwitches() const OVERRIDE; |
+ |
private: |
+ const Switches switches_; |
const StorageOption storage_option_; |
DISALLOW_COPY_AND_ASSIGN(TestInternalComponentsFactory); |