Home
last modified time | relevance | path

Searched refs:sync_driver (Results 1 – 25 of 209) sorted by relevance

123456789

/external/chromium_org/components/
Dsync_driver.gypi8 # GN version: //components/sync_driver
9 'target_name': 'sync_driver',
21 'sync_driver/backend_data_type_configurer.cc',
22 'sync_driver/backend_data_type_configurer.h',
23 'sync_driver/change_processor.cc',
24 'sync_driver/change_processor.h',
25 'sync_driver/data_type_controller.cc',
26 'sync_driver/data_type_controller.h',
27 'sync_driver/data_type_encryption_handler.cc',
28 'sync_driver/data_type_encryption_handler.h',
[all …]
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_components_factory_mock.h15 namespace sync_driver {
26 sync_driver::AssociatorInterface* model_associator,
27 sync_driver::ChangeProcessor* change_processor);
32 sync_driver::DataTypeManager*(
34 const sync_driver::DataTypeController::TypeMap*,
35 const sync_driver::DataTypeEncryptionHandler*,
37 sync_driver::DataTypeManagerObserver* observer));
43 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs,
46 virtual scoped_ptr<sync_driver::LocalDeviceInfoProvider>
49 scoped_ptr<sync_driver::LocalDeviceInfoProvider> local_device);
[all …]
Dprofile_sync_components_factory.h28 namespace sync_driver {
52 : public sync_driver::SyncApiComponentFactory {
68 sync_driver::AssociatorInterface* model_associator;
69 sync_driver::ChangeProcessor* change_processor;
70 SyncComponents(sync_driver::AssociatorInterface* ma, in SyncComponents()
71 sync_driver::ChangeProcessor* cp) in SyncComponents()
84 virtual sync_driver::DataTypeManager* CreateDataTypeManager(
87 const sync_driver::DataTypeController::TypeMap* controllers,
88 const sync_driver::DataTypeEncryptionHandler* encryption_handler,
90 sync_driver::DataTypeManagerObserver* observer) = 0;
[all …]
Dprofile_sync_components_factory_impl.h47 virtual sync_driver::DataTypeManager* CreateDataTypeManager(
50 const sync_driver::DataTypeController::TypeMap* controllers,
51 const sync_driver::DataTypeEncryptionHandler* encryption_handler,
53 sync_driver::DataTypeManagerObserver* observer)
60 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs,
63 virtual scoped_ptr<sync_driver::LocalDeviceInfoProvider>
76 sync_driver::DataTypeErrorHandler* error_handler) OVERRIDE;
80 sync_driver::DataTypeErrorHandler* error_handler) OVERRIDE;
97 sync_driver::DataTypeController::DisableTypeCallback
Dprofile_sync_service_startup_unittest.cc40 using sync_driver::DataTypeManager;
41 using sync_driver::DataTypeManagerMock;
61 if (result.status == sync_driver::DataTypeManager::ABORTED) in ACTION_P3()
151 sync_driver::DataTypeStatusTable::TypeErrorMap errors; in SetError()
196 sync_driver::DataTypeStatusTable data_type_status_table_;
232 profile_->GetPrefs()->ClearPref(sync_driver::prefs::kSyncHasSetupCompleted); in TEST_F()
246 profile_->GetPrefs()->GetInt64(sync_driver::prefs::kSyncLastSyncedTime)); in TEST_F()
248 sync_driver::prefs::kSyncHasSetupCompleted)); in TEST_F()
274 profile_->GetPrefs()->ClearPref(sync_driver::prefs::kSyncHasSetupCompleted); in TEST_F()
287 profile_->GetPrefs()->GetInt64(sync_driver::prefs::kSyncLastSyncedTime)); in TEST_F()
[all …]
Dprofile_sync_service.h78 namespace sync_driver {
183 public sync_driver::SyncFrontend,
184 public sync_driver::SyncPrefObserver,
185 public sync_driver::DataTypeManagerObserver,
188 public sync_driver::DataTypeEncryptionHandler,
344 sync_driver::DataTypeController* data_type_controller);
379 virtual sync_driver::LocalDeviceInfoProvider* GetLocalDeviceInfoProvider();
383 virtual sync_driver::DeviceInfoTracker* GetDeviceInfoTracker() const;
388 sync_driver::DataTypeController::StateMap* state_map) const;
434 const sync_driver::DataTypeManager::ConfigureResult& result) OVERRIDE;
[all …]
Dprofile_sync_service_unittest.cc49 class FakeDataTypeManager : public sync_driver::DataTypeManager {
51 explicit FakeDataTypeManager(sync_driver::DataTypeManagerObserver* observer) in FakeDataTypeManager()
57 sync_driver::DataTypeManager::ConfigureResult result; in Configure()
58 result.status = sync_driver::DataTypeManager::OK; in Configure()
68 return sync_driver::DataTypeManager::CONFIGURED; in state()
72 sync_driver::DataTypeManagerObserver* observer_;
101 sync_driver::SyncFrontend* frontend, in Initialize()
121 sync_driver::SyncFrontend* frontend, in Initialize()
247 sync_driver::SyncPrefs sync_prefs(service()->profile()->GetPrefs()); in InitializeForNthSync()
334 sync_driver::prefs::kSyncManaged, new base::FundamentalValue(false)); in TEST_F()
[all …]
Dprofile_sync_components_factory_mock.cc14 using sync_driver::AssociatorInterface;
15 using sync_driver::ChangeProcessor;
52 scoped_ptr<sync_driver::LocalDeviceInfoProvider>
58 scoped_ptr<sync_driver::LocalDeviceInfoProvider> local_device) { in SetLocalDeviceInfoProvider()
Dbackend_migrator.h53 sync_driver::DataTypeManager* manager,
69 const sync_driver::DataTypeManager::ConfigureResult& result);
88 const sync_driver::DataTypeManager::ConfigureResult& result);
93 sync_driver::DataTypeManager* manager_;
Dprofile_sync_components_factory_impl.cc121 using sync_driver::DataTypeController;
122 using sync_driver::DataTypeErrorHandler;
123 using sync_driver::DataTypeManager;
124 using sync_driver::DataTypeManagerImpl;
125 using sync_driver::DataTypeManagerObserver;
126 using sync_driver::DeviceInfoDataTypeController;
127 using sync_driver::ProxyDataTypeController;
128 using sync_driver::SharedChangeProcessor;
129 using sync_driver::UIDataTypeController;
421 const sync_driver::DataTypeEncryptionHandler* encryption_handler, in CreateDataTypeManager()
[all …]
Dbackup_rollback_controller.h13 namespace sync_driver {
25 BackupRollbackController(sync_driver::SyncPrefs* sync_prefs,
49 sync_driver::SyncPrefs* sync_prefs_;
/external/chromium_org/chrome/browser/sync/glue/
Dsearch_engine_data_type_controller_unittest.cc60 make_scoped_ptr<sync_driver::GenericChangeProcessorFactory>( in SetStartExpectations()
61 new sync_driver::FakeGenericChangeProcessorFactory( in SetStartExpectations()
62 make_scoped_ptr(new sync_driver::FakeGenericChangeProcessor( in SetStartExpectations()
72 base::Bind(&sync_driver::ModelLoadCallbackMock::Run, in Start()
75 base::Bind(&sync_driver::StartCallbackMock::Run, in Start()
86 sync_driver::StartCallbackMock start_callback_;
87 sync_driver::ModelLoadCallbackMock model_load_callback_;
94 EXPECT_CALL(start_callback_, Run(sync_driver::DataTypeController::OK, _, _)); in TEST_F()
96 EXPECT_EQ(sync_driver::DataTypeController::NOT_RUNNING, in TEST_F()
100 EXPECT_EQ(sync_driver::DataTypeController::RUNNING, in TEST_F()
[all …]
Dfrontend_data_type_controller.h28 namespace sync_driver {
45 class FrontendDataTypeController : public sync_driver::DataTypeController {
104 virtual sync_driver::AssociatorInterface* model_associator() const;
106 sync_driver::AssociatorInterface* associator);
107 virtual sync_driver::ChangeProcessor* GetChangeProcessor() const OVERRIDE;
108 virtual void set_change_processor(sync_driver::ChangeProcessor* processor);
128 scoped_ptr<sync_driver::AssociatorInterface> model_associator_;
129 scoped_ptr<sync_driver::ChangeProcessor> change_processor_;
Dnon_frontend_data_type_controller.h32 namespace sync_driver {
47 class NonFrontendDataTypeController : public sync_driver::DataTypeController {
85 sync_driver::ChangeProcessor* change_processor;
86 sync_driver::AssociatorInterface* model_associator;
131 virtual void DisconnectProcessor(sync_driver::ChangeProcessor* processor) = 0;
170 virtual sync_driver::AssociatorInterface* associator() const;
171 virtual sync_driver::ChangeProcessor* GetChangeProcessor() const OVERRIDE;
187 sync_driver::AssociatorInterface* model_associator_;
188 sync_driver::ChangeProcessor* change_processor_;
Dautofill_data_type_controller_unittest.cc141 last_start_result_(sync_driver::DataTypeController::OK), in SyncAutofillDataTypeControllerTest()
160 void OnStartFinished(sync_driver::DataTypeController::ConfigureResult result, in OnStartFinished()
191 sync_driver::DataTypeController::ConfigureResult last_start_result_;
214 EXPECT_EQ(sync_driver::DataTypeController::ASSOCIATION_FAILED, in TEST_F()
217 EXPECT_EQ(sync_driver::DataTypeController::DISABLED, autofill_dtc_->state()); in TEST_F()
229 EXPECT_EQ(sync_driver::DataTypeController::OK, last_start_result_); in TEST_F()
231 EXPECT_EQ(sync_driver::DataTypeController::MODEL_STARTING, in TEST_F()
244 EXPECT_EQ(sync_driver::DataTypeController::ASSOCIATION_FAILED, in TEST_F()
248 EXPECT_EQ(sync_driver::DataTypeController::DISABLED, autofill_dtc_->state()); in TEST_F()
Dfrontend_data_type_controller_mock.h41 MOCK_CONST_METHOD0(model_associator, sync_driver::AssociatorInterface*());
43 void(sync_driver::AssociatorInterface* associator));
44 MOCK_CONST_METHOD0(change_processor, sync_driver::ChangeProcessor*());
46 void(sync_driver::ChangeProcessor* processor));
Dsync_backend_registrar.h30 namespace sync_driver {
94 sync_driver::ChangeProcessor* change_processor,
132 typedef std::map<syncer::ModelType, sync_driver::ChangeProcessor*>
143 sync_driver::ChangeProcessor* GetProcessor(syncer::ModelType type) const;
148 sync_driver::ChangeProcessor* GetProcessorUnsafe(
Dlocal_device_info_provider_mock.h14 : public sync_driver::LocalDeviceInfoProvider {
28 virtual const sync_driver::DeviceInfo* GetLocalDeviceInfo() const OVERRIDE;
41 scoped_ptr<sync_driver::DeviceInfo> local_device_info_;
Dlocal_device_info_provider_impl.h19 : public sync_driver::LocalDeviceInfoProvider {
25 virtual const sync_driver::DeviceInfo* GetLocalDeviceInfo() const OVERRIDE;
45 scoped_ptr<sync_driver::DeviceInfo> local_device_info_;
/external/chromium_org/chrome/browser/sync/sessions/
Dsession_data_type_controller_unittest.cc171 EXPECT_EQ(sync_driver::DataTypeController::MODEL_LOADED, in TEST_F()
180 EXPECT_EQ(sync_driver::DataTypeController::MODEL_STARTING, in TEST_F()
184 EXPECT_EQ(sync_driver::DataTypeController::MODEL_LOADED, in TEST_F()
193 EXPECT_EQ(sync_driver::DataTypeController::MODEL_STARTING, in TEST_F()
197 EXPECT_EQ(sync_driver::DataTypeController::MODEL_LOADED, in TEST_F()
208 EXPECT_EQ(sync_driver::DataTypeController::MODEL_STARTING, in TEST_F()
213 EXPECT_EQ(sync_driver::DataTypeController::MODEL_STARTING, in TEST_F()
217 EXPECT_EQ(sync_driver::DataTypeController::MODEL_LOADED, in TEST_F()
228 EXPECT_EQ(sync_driver::DataTypeController::MODEL_STARTING, in TEST_F()
233 EXPECT_EQ(sync_driver::DataTypeController::MODEL_STARTING, in TEST_F()
[all …]
Dsession_data_type_controller.h23 class SessionDataTypeController : public sync_driver::UIDataTypeController,
26 SessionDataTypeController(sync_driver::SyncApiComponentFactory* factory,
29 sync_driver::LocalDeviceInfoProvider* local_device);
55 sync_driver::LocalDeviceInfoProvider* const local_device_;
56 scoped_ptr<sync_driver::LocalDeviceInfoProvider::Subscription> subscription_;
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/
Dsigned_in_devices_api.h14 namespace sync_driver {
31 ScopedVector<sync_driver::DeviceInfo> GetAllSignedInDevices(
35 ScopedVector<sync_driver::DeviceInfo> GetAllSignedInDevices(
37 sync_driver::DeviceInfoTracker* device_tracker,
Did_mapping_helper.h17 namespace sync_driver {
48 std::vector<sync_driver::DeviceInfo*>* device_info,
53 scoped_ptr<sync_driver::DeviceInfo> GetDeviceInfoForClientId(
/external/chromium_org/chrome/browser/supervised_user/
Dsupervised_user_sync_data_type_controller.h13 namespace sync_driver {
22 : public sync_driver::UIDataTypeController {
26 sync_driver::SyncApiComponentFactory* sync_factory,
/external/chromium_org/chrome/browser/extensions/
Dpending_enables.h18 namespace sync_driver {
32 PendingEnables(scoped_ptr<sync_driver::SyncPrefs> sync_prefs,
54 scoped_ptr<sync_driver::SyncPrefs> sync_prefs_;

123456789