OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BackendMigrator
(Results
1 - 11
of
11
) sorted by null
/external/chromium/chrome/browser/sync/
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
);
backend_migrator_unittest.cc
91
BackendMigrator
migrator(service(), manager());
102
EXPECT_EQ(
BackendMigrator
::DISABLING_TYPES, migrator.state());
105
EXPECT_EQ(
BackendMigrator
::WAITING_FOR_PURGE, migrator.state());
110
EXPECT_EQ(
BackendMigrator
::REENABLING_TYPES, migrator.state());
113
EXPECT_EQ(
BackendMigrator
::IDLE, migrator.state());
119
BackendMigrator
migrator(service(), manager());
127
EXPECT_EQ(
BackendMigrator
::WAITING_TO_START, migrator.state());
135
EXPECT_EQ(
BackendMigrator
::DISABLING_TYPES, migrator.state());
141
BackendMigrator
migrator(service(), manager());
152
EXPECT_EQ(
BackendMigrator
::DISABLING_TYPES, migrator.state())
[
all
...]
backend_migrator.cc
23
BackendMigrator
::
BackendMigrator
(ProfileSyncService* service,
33
BackendMigrator
::~
BackendMigrator
() {
37
bool
BackendMigrator
::HasStartedMigrating() const {
41
void
BackendMigrator
::MigrateTypes(const syncable::ModelTypeSet& types) {
51
VLOG(1) << "
BackendMigrator
::MigrateTypes: STARTED_MIGRATING early-out.";
57
VLOG(1) << "
BackendMigrator
::MigrateTypes: manager CONFIGURED early-out.";
70
VLOG(1) << "
BackendMigrator
disabling types; calling Configure.";
74
void
BackendMigrator
::OnStateChanged()
[
all
...]
profile_sync_service.h
44
class
BackendMigrator
;
645
scoped_ptr<browser_sync::
BackendMigrator
> migrator_;
profile_sync_service.cc
[
all
...]
/external/chromium_org/chrome/browser/sync/
backend_migrator.cc
27
BackendMigrator
::
BackendMigrator
(const std::string& name,
38
BackendMigrator
::~
BackendMigrator
() {
48
void
BackendMigrator
::MigrateTypes(syncer::ModelTypeSet types) {
73
void
BackendMigrator
::AddMigrationObserver(MigrationObserver* observer) {
77
bool
BackendMigrator
::HasMigrationObserver(
82
void
BackendMigrator
::RemoveMigrationObserver(MigrationObserver* observer) {
86
void
BackendMigrator
::ChangeState(State new_state) {
92
bool
BackendMigrator
::TryStart()
[
all
...]
backend_migrator.h
36
class
BackendMigrator
{
50
BackendMigrator
(const std::string& name,
55
virtual ~
BackendMigrator
();
101
base::WeakPtrFactory<
BackendMigrator
> weak_ptr_factory_;
103
DISALLOW_COPY_AND_ASSIGN(
BackendMigrator
);
backend_migrator_unittest.cc
47
new
BackendMigrator
(
95
BackendMigrator
* migrator() { return migrator_.get(); }
111
scoped_ptr<
BackendMigrator
> migrator_;
143
EXPECT_EQ(
BackendMigrator
::DISABLING_TYPES, migrator()->state());
147
EXPECT_EQ(
BackendMigrator
::REENABLING_TYPES, migrator()->state());
151
EXPECT_EQ(
BackendMigrator
::IDLE, migrator()->state());
171
EXPECT_EQ(
BackendMigrator
::DISABLING_TYPES, migrator()->state());
175
EXPECT_EQ(
BackendMigrator
::REENABLING_TYPES, migrator()->state());
179
EXPECT_EQ(
BackendMigrator
::IDLE, migrator()->state());
193
EXPECT_EQ(
BackendMigrator
::WAITING_TO_START, migrator()->state())
[
all
...]
profile_sync_service.h
58
class
BackendMigrator
;
532
browser_sync::
BackendMigrator
* GetBackendMigratorForTest();
[
all
...]
profile_sync_service.cc
[
all
...]
/external/chromium_org/chrome/browser/sync/test/integration/
profile_sync_service_harness.cc
372
browser_sync::
BackendMigrator
* migrator =
789
browser_sync::
BackendMigrator
* migrator =
791
return migrator && migrator->state() != browser_sync::
BackendMigrator
::IDLE;
[
all
...]
Completed in 519 milliseconds