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

Side by Side Diff: sync/syncable/model_type.h

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « sync/syncable/in_memory_directory_backing_store.cc ('k') | sync/syncable/model_type.cc » ('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 (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 // Enumerate the various item subtypes that are supported by sync. 5 // Enumerate the various item subtypes that are supported by sync.
6 // Each sync object is expected to have an immutable object type. 6 // Each sync object is expected to have an immutable object type.
7 // An object's type is inferred from the type of data it holds. 7 // An object's type is inferred from the type of data it holds.
8 8
9 #ifndef CHROME_BROWSER_SYNC_SYNCABLE_MODEL_TYPE_H_ 9 #ifndef SYNC_SYNCABLE_MODEL_TYPE_H_
10 #define CHROME_BROWSER_SYNC_SYNCABLE_MODEL_TYPE_H_ 10 #define SYNC_SYNCABLE_MODEL_TYPE_H_
11 #pragma once 11 #pragma once
12 12
13 #include <set> 13 #include <set>
14 #include <string> 14 #include <string>
15 15
16 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "base/time.h" 17 #include "base/time.h"
18 #include "chrome/browser/sync/util/enum_set.h" 18 #include "sync/util/enum_set.h"
19 19
20 namespace base { 20 namespace base {
21 class ListValue; 21 class ListValue;
22 class StringValue; 22 class StringValue;
23 class Value; 23 class Value;
24 } 24 }
25 25
26 namespace sync_pb { 26 namespace sync_pb {
27 class EntitySpecifics; 27 class EntitySpecifics;
28 class SyncEntity; 28 class SyncEntity;
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // iff |notification_type| was the notification type of a real model 165 // iff |notification_type| was the notification type of a real model
166 // type and |model_type| was filled in. 166 // type and |model_type| was filled in.
167 bool NotificationTypeToRealModelType(const std::string& notification_type, 167 bool NotificationTypeToRealModelType(const std::string& notification_type,
168 ModelType* model_type); 168 ModelType* model_type);
169 169
170 // Returns true if |model_type| is a real datatype 170 // Returns true if |model_type| is a real datatype
171 bool IsRealDataType(ModelType model_type); 171 bool IsRealDataType(ModelType model_type);
172 172
173 } // namespace syncable 173 } // namespace syncable
174 174
175 #endif // CHROME_BROWSER_SYNC_SYNCABLE_MODEL_TYPE_H_ 175 #endif // SYNC_SYNCABLE_MODEL_TYPE_H_
OLDNEW
« no previous file with comments | « sync/syncable/in_memory_directory_backing_store.cc ('k') | sync/syncable/model_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698