| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
| 10 #include "chrome/browser/sync/glue/data_type_manager.h" |
| 11 #include "chrome/browser/sync/internal_api/configure_reason.h" |
| 10 #include "chrome/browser/sync/profile_sync_service.h" | 12 #include "chrome/browser/sync/profile_sync_service.h" |
| 11 #include "chrome/browser/sync/engine/configure_reason.h" | |
| 12 #include "chrome/browser/sync/glue/data_type_manager.h" | |
| 13 #include "chrome/browser/sync/sessions/session_state.h" | 13 #include "chrome/browser/sync/sessions/session_state.h" |
| 14 #include "chrome/common/chrome_notification_types.h" | 14 #include "chrome/common/chrome_notification_types.h" |
| 15 #include "content/browser/browser_thread.h" | 15 #include "content/browser/browser_thread.h" |
| 16 #include "content/common/notification_details.h" | 16 #include "content/common/notification_details.h" |
| 17 #include "content/common/notification_source.h" | 17 #include "content/common/notification_source.h" |
| 18 | 18 |
| 19 using syncable::ModelTypeSet; | 19 using syncable::ModelTypeSet; |
| 20 | 20 |
| 21 namespace browser_sync { | 21 namespace browser_sync { |
| 22 | 22 |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 VLOG(1) << "BackendMigrator: Migration complete for: " << ss.str(); | 177 VLOG(1) << "BackendMigrator: Migration complete for: " << ss.str(); |
| 178 to_migrate_.clear(); | 178 to_migrate_.clear(); |
| 179 } | 179 } |
| 180 } | 180 } |
| 181 | 181 |
| 182 BackendMigrator::State BackendMigrator::state() const { | 182 BackendMigrator::State BackendMigrator::state() const { |
| 183 return state_; | 183 return state_; |
| 184 } | 184 } |
| 185 | 185 |
| 186 }; // namespace browser_sync | 186 }; // namespace browser_sync |
| OLD | NEW |