| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/sync_driver/backend_migrator.h" | 5 #include "components/sync_driver/backend_migrator.h" |
| 6 | 6 |
| 7 #include "base/location.h" | 7 #include "base/location.h" |
| 8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
| 9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
| 10 #include "base/threading/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
| 11 #include "base/tracked_objects.h" | 11 #include "base/tracked_objects.h" |
| 12 #include "components/sync/core/configure_reason.h" |
| 13 #include "components/sync/core/read_transaction.h" |
| 14 #include "components/sync/protocol/sync.pb.h" |
| 15 #include "components/sync/syncable/directory.h" // TODO(tim): Bug 131130. |
| 12 #include "components/sync_driver/sync_service.h" | 16 #include "components/sync_driver/sync_service.h" |
| 13 #include "sync/internal_api/public/configure_reason.h" | |
| 14 #include "sync/internal_api/public/read_transaction.h" | |
| 15 #include "sync/protocol/sync.pb.h" | |
| 16 #include "sync/syncable/directory.h" // TODO(tim): Bug 131130. | |
| 17 | 17 |
| 18 using syncer::ModelTypeSet; | 18 using syncer::ModelTypeSet; |
| 19 | 19 |
| 20 namespace browser_sync { | 20 namespace browser_sync { |
| 21 | 21 |
| 22 using syncer::ModelTypeToString; | 22 using syncer::ModelTypeToString; |
| 23 | 23 |
| 24 MigrationObserver::~MigrationObserver() {} | 24 MigrationObserver::~MigrationObserver() {} |
| 25 | 25 |
| 26 BackendMigrator::BackendMigrator(const std::string& name, | 26 BackendMigrator::BackendMigrator(const std::string& name, |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 | 214 |
| 215 syncer::ModelTypeSet BackendMigrator::GetPendingMigrationTypesForTest() const { | 215 syncer::ModelTypeSet BackendMigrator::GetPendingMigrationTypesForTest() const { |
| 216 return to_migrate_; | 216 return to_migrate_; |
| 217 } | 217 } |
| 218 | 218 |
| 219 #undef SDVLOG | 219 #undef SDVLOG |
| 220 | 220 |
| 221 #undef SLOG | 221 #undef SLOG |
| 222 | 222 |
| 223 }; // namespace browser_sync | 223 }; // namespace browser_sync |
| OLD | NEW |