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

Side by Side Diff: sync/internal_api/read_node.h

Issue 10147003: [Sync] Move 'syncapi_core' and 'sync_unit_tests' targets to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Win update errors Created 8 years, 8 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/internal_api/js_sync_manager_observer_unittest.cc ('k') | sync/internal_api/read_node.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 #ifndef CHROME_BROWSER_SYNC_INTERNAL_API_READ_NODE_H_ 5 #ifndef SYNC_INTERNAL_API_READ_NODE_H_
6 #define CHROME_BROWSER_SYNC_INTERNAL_API_READ_NODE_H_ 6 #define SYNC_INTERNAL_API_READ_NODE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "chrome/browser/sync/internal_api/base_node.h" 13 #include "sync/internal_api/base_node.h"
14 #include "sync/syncable/model_type.h" 14 #include "sync/syncable/model_type.h"
15 15
16 namespace sync_api { 16 namespace sync_api {
17 17
18 // ReadNode wraps a syncable::Entry to provide the functionality of a 18 // ReadNode wraps a syncable::Entry to provide the functionality of a
19 // read-only BaseNode. 19 // read-only BaseNode.
20 class ReadNode : public BaseNode { 20 class ReadNode : public BaseNode {
21 public: 21 public:
22 // Create an unpopulated ReadNode on the given transaction. Call some flavor 22 // Create an unpopulated ReadNode on the given transaction. Call some flavor
23 // of Init to populate the ReadNode with a database entry. 23 // of Init to populate the ReadNode with a database entry.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 syncable::Entry* entry_; 56 syncable::Entry* entry_;
57 57
58 // The sync API transaction that is the parent of this node. 58 // The sync API transaction that is the parent of this node.
59 const BaseTransaction* transaction_; 59 const BaseTransaction* transaction_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(ReadNode); 61 DISALLOW_COPY_AND_ASSIGN(ReadNode);
62 }; 62 };
63 63
64 } // namespace sync_api 64 } // namespace sync_api
65 65
66 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_READ_NODE_H_ 66 #endif // SYNC_INTERNAL_API_READ_NODE_H_
OLDNEW
« no previous file with comments | « sync/internal_api/js_sync_manager_observer_unittest.cc ('k') | sync/internal_api/read_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698