HomeSort by relevance Sort by last modified time
    Searched refs:migrator (Results 1 - 4 of 4) sorted by null

  /external/chromium/chrome/browser/sync/
backend_migrator_unittest.cc 91 BackendMigrator migrator(service(), manager());
101 migrator.MigrateTypes(to_migrate);
102 EXPECT_EQ(BackendMigrator::DISABLING_TYPES, migrator.state());
105 EXPECT_EQ(BackendMigrator::WAITING_FOR_PURGE, migrator.state());
109 migrator.OnStateChanged();
110 EXPECT_EQ(BackendMigrator::REENABLING_TYPES, migrator.state());
113 EXPECT_EQ(BackendMigrator::IDLE, migrator.state());
116 // Test that the migrator waits for the data type manager to be idle before
119 BackendMigrator migrator(service(), manager());
126 migrator.MigrateTypes(to_migrate)
    [all...]
  /external/chromium_org/chrome/browser/sync/
backend_migrator_unittest.cc 95 BackendMigrator* migrator() { return migrator_.get(); } function in class:browser_sync::SyncBackendMigratorTest
125 migrator()->AddMigrationObserver(&migration_observer);
142 migrator()->MigrateTypes(to_migrate);
143 EXPECT_EQ(BackendMigrator::DISABLING_TYPES, migrator()->state());
147 EXPECT_EQ(BackendMigrator::REENABLING_TYPES, migrator()->state());
151 EXPECT_EQ(BackendMigrator::IDLE, migrator()->state());
153 migrator()->RemoveMigrationObserver(&migration_observer);
170 migrator()->MigrateTypes(to_migrate);
171 EXPECT_EQ(BackendMigrator::DISABLING_TYPES, migrator()->state());
175 EXPECT_EQ(BackendMigrator::REENABLING_TYPES, migrator()->state())
    [all...]
  /external/chromium_org/sync/tools/testserver/
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=
    [all...]
  /external/chromium_org/chrome/browser/sync/test/integration/
profile_sync_service_harness.cc 324 // Subscribe sync client to notifications from the backend migrator
372 browser_sync::BackendMigrator* migrator = local
374 if (migrator && !migrator->HasMigrationObserver(this)) {
375 migrator->AddMigrationObserver(this);
789 browser_sync::BackendMigrator* migrator = local
791 return migrator && migrator->state() != browser_sync::BackendMigrator::IDLE;
    [all...]

Completed in 158 milliseconds