Searched refs:DataTypeManager (Results 1 – 16 of 16) sorted by relevance
/external/chromium/chrome/browser/sync/glue/ |
D | data_type_manager_impl2_unittest.cc | 27 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 …]
|
D | data_type_manager_mock.h | 19 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_;
|
D | data_type_manager_impl.cc | 65 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()
|
D | data_type_manager.cc | 9 DataTypeManager::ConfigureResultWithErrorLocation:: 12 DataTypeManager::ConfigureResultWithErrorLocation::
|
D | data_type_manager.h | 20 class DataTypeManager { 73 virtual ~DataTypeManager() {} in ~DataTypeManager()
|
D | data_type_manager_impl.h | 22 class DataTypeManagerImpl : public DataTypeManager {
|
/external/chromium/chrome/browser/sync/ |
D | backend_migrator_unittest.cc | 61 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 …]
|
D | profile_sync_service_startup_unittest.cc | 24 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()
|
D | backend_migrator.cc | 24 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()
|
D | backend_migrator.h | 18 class DataTypeManager; variable 36 BackendMigrator(ProfileSyncService* service, DataTypeManager* manager); 57 DataTypeManager* manager_;
|
D | profile_sync_service.cc | 53 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 …]
|
D | profile_sync_factory.h | 24 class DataTypeManager; variable 59 virtual browser_sync::DataTypeManager* CreateDataTypeManager(
|
D | profile_sync_factory_impl.cc | 55 using browser_sync::DataTypeManager; 159 DataTypeManager* ProfileSyncFactoryImpl::CreateDataTypeManager( in CreateDataTypeManager()
|
D | profile_sync_factory_impl.h | 26 virtual browser_sync::DataTypeManager* CreateDataTypeManager(
|
D | profile_sync_factory_mock.h | 30 browser_sync::DataTypeManager*(
|
D | profile_sync_service.h | 46 class DataTypeManager; variable 587 scoped_ptr<browser_sync::DataTypeManager> data_type_manager_;
|