Searched refs:migrator (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() local 101 migrator.MigrateTypes(to_migrate); 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() 109 migrator.OnStateChanged(); 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() local 126 migrator.MigrateTypes(to_migrate); in TEST_F() 127 EXPECT_EQ(BackendMigrator::WAITING_TO_START, migrator.state()); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/sync/ |
D | backend_migrator_unittest.cc | 95 BackendMigrator* migrator() { return migrator_.get(); } in migrator() function in browser_sync::SyncBackendMigratorTest 125 migrator()->AddMigrationObserver(&migration_observer); in TEST_F() 142 migrator()->MigrateTypes(to_migrate); in TEST_F() 143 EXPECT_EQ(BackendMigrator::DISABLING_TYPES, migrator()->state()); in TEST_F() 147 EXPECT_EQ(BackendMigrator::REENABLING_TYPES, migrator()->state()); in TEST_F() 151 EXPECT_EQ(BackendMigrator::IDLE, migrator()->state()); in TEST_F() 153 migrator()->RemoveMigrationObserver(&migration_observer); in TEST_F() 170 migrator()->MigrateTypes(to_migrate); in TEST_F() 171 EXPECT_EQ(BackendMigrator::DISABLING_TYPES, migrator()->state()); in TEST_F() 175 EXPECT_EQ(BackendMigrator::REENABLING_TYPES, migrator()->state()); in TEST_F() [all …]
|
/external/chromium_org/sync/tools/testserver/ |
D | chromiumsync_test.py | 463 migrator = chromiumsync.MigrationHistory() 471 sieve = chromiumsync.UpdateSieve(msg, migrator) 474 migrator.Bump([chromiumsync.BOOKMARK, chromiumsync.PASSWORD]) # v=2 475 sieve = chromiumsync.UpdateSieve(msg, migrator) 482 migrator.Bump([chromiumsync.AUTOFILL, chromiumsync.PASSWORD]) # v=3 483 sieve = chromiumsync.UpdateSieve(msg, migrator) 498 sieve = chromiumsync.UpdateSieve(msg, migrator) 515 sieve = chromiumsync.UpdateSieve(msg, migrator) 518 migrator.Bump([chromiumsync.THEME, chromiumsync.AUTOFILL]) # v=4 519 migrator.Bump([chromiumsync.AUTOFILL]) # v=5 [all …]
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | profile_sync_service_harness.cc | 372 browser_sync::BackendMigrator* migrator = in TryListeningToMigrationEvents() local 374 if (migrator && !migrator->HasMigrationObserver(this)) { in TryListeningToMigrationEvents() 375 migrator->AddMigrationObserver(this); in TryListeningToMigrationEvents() 789 browser_sync::BackendMigrator* migrator = in HasPendingBackendMigration() local 791 return migrator && migrator->state() != browser_sync::BackendMigrator::IDLE; in HasPendingBackendMigration()
|
/external/clang/include/clang/Driver/ |
D | Options.td | 160 HelpText<"Emit ARC errors even if the migrator can fix them">, 164 HelpText<"Run the migrator">;
|