Searched refs:BackendMigrator (Results 1 – 5 of 5) sorted by relevance
/external/chromium/chrome/browser/sync/ |
D | backend_migrator_unittest.cc | 91 BackendMigrator migrator(service(), manager()); in TEST_F() 102 EXPECT_EQ(BackendMigrator::DISABLING_TYPES, migrator.state()); in TEST_F() 105 EXPECT_EQ(BackendMigrator::WAITING_FOR_PURGE, migrator.state()); in TEST_F() 110 EXPECT_EQ(BackendMigrator::REENABLING_TYPES, migrator.state()); in TEST_F() 113 EXPECT_EQ(BackendMigrator::IDLE, migrator.state()); in TEST_F() 119 BackendMigrator migrator(service(), manager()); in TEST_F() 127 EXPECT_EQ(BackendMigrator::WAITING_TO_START, migrator.state()); in TEST_F() 135 EXPECT_EQ(BackendMigrator::DISABLING_TYPES, migrator.state()); in TEST_F() 141 BackendMigrator migrator(service(), manager()); in TEST_F() 152 EXPECT_EQ(BackendMigrator::DISABLING_TYPES, migrator.state()); in TEST_F() [all …]
|
D | backend_migrator.cc | 23 BackendMigrator::BackendMigrator(ProfileSyncService* service, in BackendMigrator() function in browser_sync::BackendMigrator 33 BackendMigrator::~BackendMigrator() { in ~BackendMigrator() 37 bool BackendMigrator::HasStartedMigrating() const { in HasStartedMigrating() 41 void BackendMigrator::MigrateTypes(const syncable::ModelTypeSet& types) { in MigrateTypes() 74 void BackendMigrator::OnStateChanged() { in OnStateChanged() 106 void BackendMigrator::Observe(NotificationType type, in Observe() 134 method_factory_.NewRunnableMethod(&BackendMigrator::MigrateTypes, in Observe() 172 BackendMigrator::State BackendMigrator::state() const { in state()
|
D | backend_migrator.h | 22 class BackendMigrator : public NotificationObserver, 36 BackendMigrator(ProfileSyncService* service, DataTypeManager* manager); 37 virtual ~BackendMigrator(); 64 ScopedRunnableMethodFactory<BackendMigrator> method_factory_; 66 DISALLOW_COPY_AND_ASSIGN(BackendMigrator);
|
D | profile_sync_service.h | 44 class BackendMigrator; variable 645 scoped_ptr<browser_sync::BackendMigrator> migrator_;
|
D | profile_sync_service.cc | 984 new browser_sync::BackendMigrator(this, data_type_manager_.get())); in ConfigureDataTypeManager()
|