| 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 "chrome/browser/sync/backend_migrator.h" | 5 #include "chrome/browser/sync/backend_migrator.h" |
| 6 | 6 |
| 7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
| 8 #include "base/string_number_conversions.h" | 8 #include "base/string_number_conversions.h" |
| 9 #include "base/tracked_objects.h" | 9 #include "base/tracked_objects.h" |
| 10 #include "chrome/browser/sync/internal_api/configure_reason.h" | 10 #include "chrome/browser/sync/internal_api/configure_reason.h" |
| 11 #include "chrome/browser/sync/internal_api/read_transaction.h" | 11 #include "chrome/browser/sync/internal_api/read_transaction.h" |
| 12 #include "chrome/browser/sync/profile_sync_service.h" | 12 #include "chrome/browser/sync/profile_sync_service.h" |
| 13 #include "chrome/browser/sync/sessions/session_state.h" | |
| 14 #include "chrome/common/chrome_notification_types.h" | 13 #include "chrome/common/chrome_notification_types.h" |
| 15 #include "content/public/browser/notification_details.h" | 14 #include "content/public/browser/notification_details.h" |
| 16 #include "content/public/browser/notification_source.h" | 15 #include "content/public/browser/notification_source.h" |
| 17 #include "sync/protocol/sync.pb.h" | 16 #include "sync/protocol/sync.pb.h" |
| 17 #include "sync/sessions/session_state.h" |
| 18 | 18 |
| 19 using syncable::ModelTypeSet; | 19 using syncable::ModelTypeSet; |
| 20 | 20 |
| 21 namespace browser_sync { | 21 namespace browser_sync { |
| 22 | 22 |
| 23 using sessions::SyncSessionSnapshot; | 23 using sessions::SyncSessionSnapshot; |
| 24 using syncable::ModelTypeToString; | 24 using syncable::ModelTypeToString; |
| 25 | 25 |
| 26 MigrationObserver::~MigrationObserver() {} | 26 MigrationObserver::~MigrationObserver() {} |
| 27 | 27 |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 syncable::ModelTypeSet | 231 syncable::ModelTypeSet |
| 232 BackendMigrator::GetPendingMigrationTypesForTest() const { | 232 BackendMigrator::GetPendingMigrationTypesForTest() const { |
| 233 return to_migrate_; | 233 return to_migrate_; |
| 234 } | 234 } |
| 235 | 235 |
| 236 #undef SDVLOG | 236 #undef SDVLOG |
| 237 | 237 |
| 238 #undef SLOG | 238 #undef SLOG |
| 239 | 239 |
| 240 }; // namespace browser_sync | 240 }; // namespace browser_sync |
| OLD | NEW |