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

Side by Side Diff: components/sync/core/read_node.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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
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 SYNC_INTERNAL_API_PUBLIC_READ_NODE_H_ 5 #ifndef COMPONENTS_SYNC_CORE_READ_NODE_H_
6 #define SYNC_INTERNAL_API_PUBLIC_READ_NODE_H_ 6 #define COMPONENTS_SYNC_CORE_READ_NODE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "sync/base/sync_export.h" 15 #include "components/sync/base/model_type.h"
16 #include "sync/internal_api/public/base/model_type.h" 16 #include "components/sync/base/sync_export.h"
17 #include "sync/internal_api/public/base_node.h" 17 #include "components/sync/core/base_node.h"
18 18
19 namespace syncer { 19 namespace syncer {
20 20
21 // ReadNode wraps a syncable::Entry to provide the functionality of a 21 // ReadNode wraps a syncable::Entry to provide the functionality of a
22 // read-only BaseNode. 22 // read-only BaseNode.
23 class SYNC_EXPORT ReadNode : public BaseNode { 23 class SYNC_EXPORT ReadNode : public BaseNode {
24 public: 24 public:
25 // Create an unpopulated ReadNode on the given transaction. Call some flavor 25 // Create an unpopulated ReadNode on the given transaction. Call some flavor
26 // of Init to populate the ReadNode with a database entry. 26 // of Init to populate the ReadNode with a database entry.
27 explicit ReadNode(const BaseTransaction* transaction); 27 explicit ReadNode(const BaseTransaction* transaction);
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 syncable::Entry* entry_; 69 syncable::Entry* entry_;
70 70
71 // The sync API transaction that is the parent of this node. 71 // The sync API transaction that is the parent of this node.
72 const BaseTransaction* transaction_; 72 const BaseTransaction* transaction_;
73 73
74 DISALLOW_COPY_AND_ASSIGN(ReadNode); 74 DISALLOW_COPY_AND_ASSIGN(ReadNode);
75 }; 75 };
76 76
77 } // namespace syncer 77 } // namespace syncer
78 78
79 #endif // SYNC_INTERNAL_API_PUBLIC_READ_NODE_H_ 79 #endif // COMPONENTS_SYNC_CORE_READ_NODE_H_
OLDNEW
« no previous file with comments | « components/sync/core/processor_entity_tracker_unittest.cc ('k') | components/sync/core/read_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698