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/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
12 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
13 #include "components/sync_driver/data_type_manager.h" | 14 #include "components/sync_driver/data_type_manager.h" |
14 #include "sync/internal_api/public/base/model_type.h" | 15 #include "sync/internal_api/public/base/model_type.h" |
15 | 16 |
16 namespace syncer { | 17 namespace syncer { |
17 struct UserShare; | 18 struct UserShare; |
18 } // namespace syncer | 19 } // namespace syncer |
19 | 20 |
20 namespace sync_driver { | 21 namespace sync_driver { |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 base::Closure migration_done_callback_; | 104 base::Closure migration_done_callback_; |
104 | 105 |
105 base::WeakPtrFactory<BackendMigrator> weak_ptr_factory_; | 106 base::WeakPtrFactory<BackendMigrator> weak_ptr_factory_; |
106 | 107 |
107 DISALLOW_COPY_AND_ASSIGN(BackendMigrator); | 108 DISALLOW_COPY_AND_ASSIGN(BackendMigrator); |
108 }; | 109 }; |
109 | 110 |
110 } // namespace browser_sync | 111 } // namespace browser_sync |
111 | 112 |
112 #endif // COMPONENTS_SYNC_DRIVER_BACKEND_MIGRATOR_H_ | 113 #endif // COMPONENTS_SYNC_DRIVER_BACKEND_MIGRATOR_H_ |
OLD | NEW |