OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_BASE_MODEL_TYPE_H_ | 5 #ifndef COMPONENTS_SYNC_BASE_MODEL_TYPE_H_ |
6 #define COMPONENTS_SYNC_BASE_MODEL_TYPE_H_ | 6 #define COMPONENTS_SYNC_BASE_MODEL_TYPE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <ostream> | 10 #include <ostream> |
11 #include <set> | 11 #include <set> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "components/sync/base/enum_set.h" | 15 #include "components/sync/base/enum_set.h" |
16 | 16 |
17 namespace base { | 17 namespace base { |
18 class ListValue; | 18 class ListValue; |
19 class StringValue; | |
20 class Value; | 19 class Value; |
| 20 using StringValue = Value; |
21 } | 21 } |
22 | 22 |
23 namespace sync_pb { | 23 namespace sync_pb { |
24 class EntitySpecifics; | 24 class EntitySpecifics; |
25 class SyncEntity; | 25 class SyncEntity; |
26 } | 26 } |
27 | 27 |
28 namespace syncer { | 28 namespace syncer { |
29 | 29 |
30 // Enumerate the various item subtypes that are supported by sync. | 30 // Enumerate the various item subtypes that are supported by sync. |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 | 348 |
349 // Returns true if |model_type| supports parent-child hierarchy or entries. | 349 // Returns true if |model_type| supports parent-child hierarchy or entries. |
350 bool TypeSupportsHierarchy(ModelType model_type); | 350 bool TypeSupportsHierarchy(ModelType model_type); |
351 | 351 |
352 // Returns true if |model_type| supports ordering of sibling entries. | 352 // Returns true if |model_type| supports ordering of sibling entries. |
353 bool TypeSupportsOrdering(ModelType model_type); | 353 bool TypeSupportsOrdering(ModelType model_type); |
354 | 354 |
355 } // namespace syncer | 355 } // namespace syncer |
356 | 356 |
357 #endif // COMPONENTS_SYNC_BASE_MODEL_TYPE_H_ | 357 #endif // COMPONENTS_SYNC_BASE_MODEL_TYPE_H_ |
OLD | NEW |