Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(792)

Side by Side Diff: components/sync/base/model_type.h

Issue 2516363005: Inline StringValue into base::Value (Closed)
Patch Set: Rebase and Nits. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/network/network_state_unittest.cc ('k') | components/sync/syncable/syncable_id.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chromeos/network/network_state_unittest.cc ('k') | components/sync/syncable/syncable_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698