OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 SYNC_SESSIONS_MODEL_TYPE_REGISTRY_H_ | 5 #ifndef SYNC_SESSIONS_MODEL_TYPE_REGISTRY_H_ |
6 #define SYNC_SESSIONS_MODEL_TYPE_REGISTRY_H_ | 6 #define SYNC_SESSIONS_MODEL_TYPE_REGISTRY_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "sync/base/sync_export.h" | 16 #include "sync/base/sync_export.h" |
17 #include "sync/engine/nudge_handler.h" | 17 #include "sync/engine/nudge_handler.h" |
18 #include "sync/internal_api/public/base/model_type.h" | 18 #include "sync/internal_api/public/base/model_type.h" |
19 #include "sync/internal_api/public/engine/model_safe_worker.h" | 19 #include "sync/internal_api/public/engine/model_safe_worker.h" |
20 #include "sync/internal_api/public/non_blocking_sync_common.h" | 20 #include "sync/internal_api/public/non_blocking_sync_common.h" |
21 #include "sync/internal_api/public/sessions/type_debug_info_observer.h" | 21 #include "sync/internal_api/public/sessions/type_debug_info_observer.h" |
22 #include "sync/internal_api/public/sync_context.h" | 22 #include "sync/internal_api/public/sync_context.h" |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 base::ObserverList<TypeDebugInfoObserver> type_debug_info_observers_; | 157 base::ObserverList<TypeDebugInfoObserver> type_debug_info_observers_; |
158 | 158 |
159 base::WeakPtrFactory<ModelTypeRegistry> weak_ptr_factory_; | 159 base::WeakPtrFactory<ModelTypeRegistry> weak_ptr_factory_; |
160 | 160 |
161 DISALLOW_COPY_AND_ASSIGN(ModelTypeRegistry); | 161 DISALLOW_COPY_AND_ASSIGN(ModelTypeRegistry); |
162 }; | 162 }; |
163 | 163 |
164 } // namespace syncer | 164 } // namespace syncer |
165 | 165 |
166 #endif // SYNC_SESSIONS_MODEL_TYPE_REGISTRY_H_ | 166 #endif // SYNC_SESSIONS_MODEL_TYPE_REGISTRY_H_ |
OLD | NEW |