OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_SYNC_CLIENT_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_CLIENT_H_ |
6 #define COMPONENTS_SYNC_DRIVER_SYNC_CLIENT_H_ | 6 #define COMPONENTS_SYNC_DRIVER_SYNC_CLIENT_H_ |
7 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "components/sync/base/extensions_activity.h" | 12 #include "components/sync/base/extensions_activity.h" |
13 #include "components/sync/base/model_type.h" | 13 #include "components/sync/base/model_type.h" |
14 #include "components/sync/core/shared_model_type_processor.h" | 14 #include "components/sync/core/shared_model_type_processor.h" |
| 15 #include "components/sync/driver/sync_api_component_factory.h" |
15 #include "components/sync/engine/model_safe_worker.h" | 16 #include "components/sync/engine/model_safe_worker.h" |
16 #include "components/sync_driver/sync_api_component_factory.h" | |
17 | 17 |
18 class BookmarkUndoService; | 18 class BookmarkUndoService; |
19 class PrefService; | 19 class PrefService; |
20 | 20 |
21 namespace autofill { | 21 namespace autofill { |
22 class AutocompleteSyncableService; | 22 class AutocompleteSyncableService; |
23 class PersonalDataManager; | 23 class PersonalDataManager; |
24 } // namespace autofill | 24 } // namespace autofill |
25 | 25 |
26 namespace bookmarks { | 26 namespace bookmarks { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 // Returns the current SyncApiComponentFactory instance. | 115 // Returns the current SyncApiComponentFactory instance. |
116 virtual SyncApiComponentFactory* GetSyncApiComponentFactory() = 0; | 116 virtual SyncApiComponentFactory* GetSyncApiComponentFactory() = 0; |
117 | 117 |
118 private: | 118 private: |
119 DISALLOW_COPY_AND_ASSIGN(SyncClient); | 119 DISALLOW_COPY_AND_ASSIGN(SyncClient); |
120 }; | 120 }; |
121 | 121 |
122 } // namespace sync_driver | 122 } // namespace sync_driver |
123 | 123 |
124 #endif // COMPONENTS_SYNC_DRIVER_SYNC_CLIENT_H_ | 124 #endif // COMPONENTS_SYNC_DRIVER_SYNC_CLIENT_H_ |
OLD | NEW |