| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ | 5 #ifndef SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ |
| 6 #define SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ | 6 #define SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ |
| 7 | 7 |
| 8 #include "sync/internal_api/public/internal_components_factory.h" | 8 #include "sync/internal_api/public/internal_components_factory.h" |
| 9 | 9 |
| 10 namespace syncer { | 10 namespace syncer { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 sessions::SyncSessionContext* context) OVERRIDE; | 27 sessions::SyncSessionContext* context) OVERRIDE; |
| 28 | 28 |
| 29 virtual scoped_ptr<sessions::SyncSessionContext> BuildContext( | 29 virtual scoped_ptr<sessions::SyncSessionContext> BuildContext( |
| 30 ServerConnectionManager* connection_manager, | 30 ServerConnectionManager* connection_manager, |
| 31 syncable::Directory* directory, | 31 syncable::Directory* directory, |
| 32 const std::vector<ModelSafeWorker*> workers, | 32 const std::vector<ModelSafeWorker*> workers, |
| 33 ExtensionsActivityMonitor* monitor, | 33 ExtensionsActivityMonitor* monitor, |
| 34 ThrottledDataTypeTracker* throttled_data_type_tracker, | 34 ThrottledDataTypeTracker* throttled_data_type_tracker, |
| 35 const std::vector<SyncEngineEventListener*>& listeners, | 35 const std::vector<SyncEngineEventListener*>& listeners, |
| 36 sessions::DebugInfoGetter* debug_info_getter, | 36 sessions::DebugInfoGetter* debug_info_getter, |
| 37 TrafficRecorder* traffic_recorder) OVERRIDE; | 37 TrafficRecorder* traffic_recorder, |
| 38 bool keystore_encryption_enabled) OVERRIDE; |
| 38 | 39 |
| 39 virtual scoped_ptr<syncable::DirectoryBackingStore> | 40 virtual scoped_ptr<syncable::DirectoryBackingStore> |
| 40 BuildDirectoryBackingStore( | 41 BuildDirectoryBackingStore( |
| 41 const std::string& dir_name, | 42 const std::string& dir_name, |
| 42 const FilePath& backing_filepath) OVERRIDE; | 43 const FilePath& backing_filepath) OVERRIDE; |
| 43 | 44 |
| 44 private: | 45 private: |
| 45 const StorageOption storage_option_; | 46 const StorageOption storage_option_; |
| 46 | 47 |
| 47 DISALLOW_COPY_AND_ASSIGN(TestInternalComponentsFactory); | 48 DISALLOW_COPY_AND_ASSIGN(TestInternalComponentsFactory); |
| 48 }; | 49 }; |
| 49 | 50 |
| 50 } // namespace syncer | 51 } // namespace syncer |
| 51 | 52 |
| 52 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ | 53 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ |
| OLD | NEW |