Home
last modified time | relevance | path

Searched refs:DataTypeManager (Results 1 – 16 of 16) sorted by relevance

/external/chromium/chrome/browser/sync/glue/
Ddata_type_manager_impl2_unittest.cc27 using browser_sync::DataTypeManager;
56 DataTypeManager::ConfigureResult GetResult( in GetResult()
58 DataTypeManager::ConfigureResultWithErrorLocation* result_with_location = in GetResult()
59 Details<DataTypeManager::ConfigureResultWithErrorLocation>( in GetResult()
152 void SetConfigureDoneExpectation(DataTypeManager::ConfigureResult result) { in SetConfigureDoneExpectation()
171 SetConfigureDoneExpectation(DataTypeManager::OK); in TEST_F()
173 EXPECT_EQ(DataTypeManager::CONFIGURED, dtm.state()); in TEST_F()
175 EXPECT_EQ(DataTypeManager::STOPPED, dtm.state()); in TEST_F()
186 SetConfigureDoneExpectation(DataTypeManager::OK); in TEST_F()
188 EXPECT_EQ(DataTypeManager::CONFIGURED, dtm.state()); in TEST_F()
[all …]
Ddata_type_manager_mock.h19 Source<browser_sync::DataTypeManager>(dtm), in ACTION_P3()
20 Details<browser_sync::DataTypeManager::ConfigureResultWithErrorLocation>( in ACTION_P3()
26 Source<browser_sync::DataTypeManager>(dtm), in ACTION_P2()
32 class DataTypeManagerMock : public DataTypeManager {
43 browser_sync::DataTypeManager::ConfigureResultWithErrorLocation result_;
Ddata_type_manager_impl.cc65 state_(DataTypeManager::STOPPED), in DataTypeManagerImpl()
274 ConfigureResult configure_result = DataTypeManager::ABORTED; in TypeStartCallback()
277 configure_result = DataTypeManager::ABORTED; in TypeStartCallback()
280 configure_result = DataTypeManager::ASSOCIATION_FAILED; in TypeStartCallback()
283 configure_result = DataTypeManager::UNRECOVERABLE_ERROR; in TypeStartCallback()
351 Source<DataTypeManager>(this), in NotifyStart()
361 Source<DataTypeManager>(this), in NotifyDone()
369 DataTypeManager::State DataTypeManagerImpl::state() { in state()
377 Source<DataTypeManager>(this), in SetBlockedAndNotify()
Ddata_type_manager.cc9 DataTypeManager::ConfigureResultWithErrorLocation::
12 DataTypeManager::ConfigureResultWithErrorLocation::
Ddata_type_manager.h20 class DataTypeManager {
73 virtual ~DataTypeManager() {} in ~DataTypeManager()
Ddata_type_manager_impl.h22 class DataTypeManagerImpl : public DataTypeManager {
/external/chromium/chrome/browser/sync/
Dbackend_migrator_unittest.cc61 void SendConfigureDone(DataTypeManager::ConfigureResult result, in SendConfigureDone()
63 DataTypeManager::ConfigureResultWithErrorLocation result_with_location( in SendConfigureDone()
67 Source<DataTypeManager>(&manager_), in SendConfigureDone()
68 Details<DataTypeManager::ConfigureResultWithErrorLocation>( in SendConfigureDone()
98 .WillOnce(Return(DataTypeManager::CONFIGURED)); in TEST_F()
104 SendConfigureDone(DataTypeManager::OK, difference); in TEST_F()
112 SendConfigureDone(DataTypeManager::OK, preferred_types()); in TEST_F()
124 .WillOnce(Return(DataTypeManager::CONFIGURING)); in TEST_F()
131 .WillOnce(Return(DataTypeManager::CONFIGURED)); in TEST_F()
133 SendConfigureDone(DataTypeManager::OK, syncable::ModelTypeSet()); in TEST_F()
[all …]
Dprofile_sync_service_startup_unittest.cc24 using browser_sync::DataTypeManager;
113 WillOnce(Return(DataTypeManager::CONFIGURED)); in TEST_F()
131 WillOnce(Return(DataTypeManager::CONFIGURED)); in TEST_F()
167 WillOnce(Return(DataTypeManager::CONFIGURED)); in TEST_F()
233 WillOnce(Return(DataTypeManager::STOPPED)); in TEST_F()
247 DataTypeManager::ConfigureResult configure_result = in TEST_F()
248 DataTypeManager::ASSOCIATION_FAILED; in TEST_F()
249 browser_sync::DataTypeManager::ConfigureResultWithErrorLocation result( in TEST_F()
258 WillOnce(Return(DataTypeManager::STOPPED)); in TEST_F()
Dbackend_migrator.cc24 DataTypeManager* manager) in BackendMigrator()
29 Source<DataTypeManager>(manager_)); in BackendMigrator()
56 if (manager_->state() != DataTypeManager::CONFIGURED) { in MigrateTypes()
113 DataTypeManager::ConfigureResultWithErrorLocation* result = in Observe()
114 Details<DataTypeManager::ConfigureResultWithErrorLocation>( in Observe()
143 if (result->result != DataTypeManager::OK) { in Observe()
Dbackend_migrator.h18 class DataTypeManager; variable
36 BackendMigrator(ProfileSyncService* service, DataTypeManager* manager);
57 DataTypeManager* manager_;
Dprofile_sync_service.cc53 using browser_sync::DataTypeManager;
359 if (data_type_manager_->state() != DataTypeManager::STOPPED) { in Shutdown()
365 Source<DataTypeManager>(data_type_manager_.get())); in Shutdown()
368 Source<DataTypeManager>(data_type_manager_.get())); in Shutdown()
977 Source<DataTypeManager>(data_type_manager_.get())); in ConfigureDataTypeManager()
980 Source<DataTypeManager>(data_type_manager_.get())); in ConfigureDataTypeManager()
1142 DataTypeManager::ConfigureResultWithErrorLocation* result_with_location = in Observe()
1143 Details<DataTypeManager::ConfigureResultWithErrorLocation>( in Observe()
1146 DataTypeManager::ConfigureResult result = result_with_location->result; in Observe()
1147 if (result == DataTypeManager::ABORTED && in Observe()
[all …]
Dprofile_sync_factory.h24 class DataTypeManager; variable
59 virtual browser_sync::DataTypeManager* CreateDataTypeManager(
Dprofile_sync_factory_impl.cc55 using browser_sync::DataTypeManager;
159 DataTypeManager* ProfileSyncFactoryImpl::CreateDataTypeManager( in CreateDataTypeManager()
Dprofile_sync_factory_impl.h26 virtual browser_sync::DataTypeManager* CreateDataTypeManager(
Dprofile_sync_factory_mock.h30 browser_sync::DataTypeManager*(
Dprofile_sync_service.h46 class DataTypeManager; variable
587 scoped_ptr<browser_sync::DataTypeManager> data_type_manager_;