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 18 matching lines...) Expand all Loading... |
29 const std::string& name, | 29 const std::string& name, |
30 sessions::SyncSessionContext* context, | 30 sessions::SyncSessionContext* context, |
31 syncer::CancelationSignal* cancelation_signal) OVERRIDE; | 31 syncer::CancelationSignal* cancelation_signal) OVERRIDE; |
32 | 32 |
33 virtual scoped_ptr<sessions::SyncSessionContext> BuildContext( | 33 virtual scoped_ptr<sessions::SyncSessionContext> BuildContext( |
34 ServerConnectionManager* connection_manager, | 34 ServerConnectionManager* connection_manager, |
35 syncable::Directory* directory, | 35 syncable::Directory* directory, |
36 ExtensionsActivity* monitor, | 36 ExtensionsActivity* monitor, |
37 const std::vector<SyncEngineEventListener*>& listeners, | 37 const std::vector<SyncEngineEventListener*>& listeners, |
38 sessions::DebugInfoGetter* debug_info_getter, | 38 sessions::DebugInfoGetter* debug_info_getter, |
39 TrafficRecorder* traffic_recorder, | |
40 ModelTypeRegistry* model_type_registry, | 39 ModelTypeRegistry* model_type_registry, |
41 const std::string& invalidator_client_id) OVERRIDE; | 40 const std::string& invalidator_client_id) OVERRIDE; |
42 | 41 |
43 virtual scoped_ptr<syncable::DirectoryBackingStore> | 42 virtual scoped_ptr<syncable::DirectoryBackingStore> |
44 BuildDirectoryBackingStore( | 43 BuildDirectoryBackingStore( |
45 const std::string& dir_name, | 44 const std::string& dir_name, |
46 const base::FilePath& backing_filepath) OVERRIDE; | 45 const base::FilePath& backing_filepath) OVERRIDE; |
47 | 46 |
48 virtual Switches GetSwitches() const OVERRIDE; | 47 virtual Switches GetSwitches() const OVERRIDE; |
49 | 48 |
50 private: | 49 private: |
51 const Switches switches_; | 50 const Switches switches_; |
52 const StorageOption storage_option_; | 51 const StorageOption storage_option_; |
53 | 52 |
54 DISALLOW_COPY_AND_ASSIGN(TestInternalComponentsFactory); | 53 DISALLOW_COPY_AND_ASSIGN(TestInternalComponentsFactory); |
55 }; | 54 }; |
56 | 55 |
57 } // namespace syncer | 56 } // namespace syncer |
58 | 57 |
59 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ | 58 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_TEST_INTERNAL_COMPONENTS_FACTORY_H_ |
OLD | NEW |