OLD | NEW |
1 // Copyright (c) 2011 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 CHROME_BROWSER_SYNC_BACKEND_MIGRATOR_H_ | 5 #ifndef CHROME_BROWSER_SYNC_BACKEND_MIGRATOR_H_ |
6 #define CHROME_BROWSER_SYNC_BACKEND_MIGRATOR_H_ | 6 #define CHROME_BROWSER_SYNC_BACKEND_MIGRATOR_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
11 #include "chrome/browser/sync/glue/data_type_manager.h" | 11 #include "chrome/browser/sync/glue/data_type_manager.h" |
12 #include "chrome/browser/sync/syncable/model_type.h" | |
13 #include "content/public/browser/notification_observer.h" | 12 #include "content/public/browser/notification_observer.h" |
14 #include "content/public/browser/notification_registrar.h" | 13 #include "content/public/browser/notification_registrar.h" |
| 14 #include "sync/syncable/model_type.h" |
15 | 15 |
16 class ProfileSyncService; | 16 class ProfileSyncService; |
17 | 17 |
18 namespace sync_api { | 18 namespace sync_api { |
19 struct UserShare; | 19 struct UserShare; |
20 } // namespace sync_api | 20 } // namespace sync_api |
21 | 21 |
22 namespace browser_sync { | 22 namespace browser_sync { |
23 | 23 |
24 // Interface for anything that wants to know when the migrator's state | 24 // Interface for anything that wants to know when the migrator's state |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 syncable::ModelTypeSet to_migrate_; | 99 syncable::ModelTypeSet to_migrate_; |
100 | 100 |
101 base::WeakPtrFactory<BackendMigrator> weak_ptr_factory_; | 101 base::WeakPtrFactory<BackendMigrator> weak_ptr_factory_; |
102 | 102 |
103 DISALLOW_COPY_AND_ASSIGN(BackendMigrator); | 103 DISALLOW_COPY_AND_ASSIGN(BackendMigrator); |
104 }; | 104 }; |
105 | 105 |
106 } // namespace browser_sync | 106 } // namespace browser_sync |
107 | 107 |
108 #endif // CHROME_BROWSER_SYNC_BACKEND_MIGRATOR_H_ | 108 #endif // CHROME_BROWSER_SYNC_BACKEND_MIGRATOR_H_ |
OLD | NEW |