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 #ifndef COMPONENTS_SYNC_DRIVER_BACKEND_MIGRATOR_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_BACKEND_MIGRATOR_H_ |
6 #define COMPONENTS_SYNC_DRIVER_BACKEND_MIGRATOR_H_ | 6 #define COMPONENTS_SYNC_DRIVER_BACKEND_MIGRATOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
| 14 #include "components/sync/base/model_type.h" |
14 #include "components/sync_driver/data_type_manager.h" | 15 #include "components/sync_driver/data_type_manager.h" |
15 #include "sync/internal_api/public/base/model_type.h" | |
16 | 16 |
17 namespace syncer { | 17 namespace syncer { |
18 struct UserShare; | 18 struct UserShare; |
19 } // namespace syncer | 19 } // namespace syncer |
20 | 20 |
21 namespace sync_driver { | 21 namespace sync_driver { |
22 class SyncService; | 22 class SyncService; |
23 } | 23 } |
24 | 24 |
25 namespace browser_sync { | 25 namespace browser_sync { |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 base::Closure migration_done_callback_; | 104 base::Closure migration_done_callback_; |
105 | 105 |
106 base::WeakPtrFactory<BackendMigrator> weak_ptr_factory_; | 106 base::WeakPtrFactory<BackendMigrator> weak_ptr_factory_; |
107 | 107 |
108 DISALLOW_COPY_AND_ASSIGN(BackendMigrator); | 108 DISALLOW_COPY_AND_ASSIGN(BackendMigrator); |
109 }; | 109 }; |
110 | 110 |
111 } // namespace browser_sync | 111 } // namespace browser_sync |
112 | 112 |
113 #endif // COMPONENTS_SYNC_DRIVER_BACKEND_MIGRATOR_H_ | 113 #endif // COMPONENTS_SYNC_DRIVER_BACKEND_MIGRATOR_H_ |
OLD | NEW |