Index: sync/internal_api/public/internal_components_factory_impl.h |
diff --git a/sync/internal_api/public/internal_components_factory_impl.h b/sync/internal_api/public/internal_components_factory_impl.h |
index c8f76ed777c7b20a1bd540f17ff39c05e78af35a..1b64d0bb8e4e422d70c3e8760f1dde9638999313 100644 |
--- a/sync/internal_api/public/internal_components_factory_impl.h |
+++ b/sync/internal_api/public/internal_components_factory_impl.h |
@@ -14,7 +14,7 @@ namespace syncer { |
class InternalComponentsFactoryImpl : public InternalComponentsFactory { |
public: |
- InternalComponentsFactoryImpl(); |
+ InternalComponentsFactoryImpl(const Switches& switches); |
virtual ~InternalComponentsFactoryImpl(); |
virtual scoped_ptr<SyncScheduler> BuildScheduler( |
@@ -29,15 +29,17 @@ class InternalComponentsFactoryImpl : 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_; |
DISALLOW_COPY_AND_ASSIGN(InternalComponentsFactoryImpl); |
}; |