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

Side by Side Diff: chrome/browser/sync/internal_api/read_node.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
OLDNEW
1 // Copyright (c) 2011 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 CHROME_BROWSER_SYNC_INTERNAL_API_READ_NODE_H_
6 #define CHROME_BROWSER_SYNC_INTERNAL_API_READ_NODE_H_ 6 #define CHROME_BROWSER_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 "chrome/browser/sync/internal_api/base_node.h"
14 #include "chrome/browser/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.
24 explicit ReadNode(const BaseTransaction* transaction); 24 explicit ReadNode(const BaseTransaction* transaction);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 // The sync API transaction that is the parent of this node. 57 // The sync API transaction that is the parent of this node.
58 const BaseTransaction* transaction_; 58 const BaseTransaction* transaction_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(ReadNode); 60 DISALLOW_COPY_AND_ASSIGN(ReadNode);
61 }; 61 };
62 62
63 } // namespace sync_api 63 } // namespace sync_api
64 64
65 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_READ_NODE_H_ 65 #endif // CHROME_BROWSER_SYNC_INTERNAL_API_READ_NODE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/internal_api/js_sync_manager_observer_unittest.cc ('k') | chrome/browser/sync/internal_api/read_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698