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

Side by Side Diff: components/sync/syncable/write_transaction.h

Issue 2407163004: [Sync] Move some directory-related things from core/ to syncable/. (Closed)
Patch Set: Created 4 years, 2 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 | « components/sync/syncable/write_node.cc ('k') | components/sync/syncable/write_transaction.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 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_CORE_WRITE_TRANSACTION_H_ 5 #ifndef COMPONENTS_SYNC_SYNCABLE_WRITE_TRANSACTION_H_
6 #define COMPONENTS_SYNC_CORE_WRITE_TRANSACTION_H_ 6 #define COMPONENTS_SYNC_SYNCABLE_WRITE_TRANSACTION_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 "components/sync/core/base_transaction.h"
16 #include "components/sync/model/sync_change_processor.h" 15 #include "components/sync/model/sync_change_processor.h"
16 #include "components/sync/syncable/base_transaction.h"
17 17
18 namespace tracked_objects { 18 namespace tracked_objects {
19 class Location; 19 class Location;
20 } // namespace tracked_objects 20 } // namespace tracked_objects
21 21
22 namespace syncer { 22 namespace syncer {
23 23
24 namespace syncable { 24 namespace syncable {
25 class BaseTransaction; 25 class BaseTransaction;
26 class WriteTransaction; 26 class WriteTransaction;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 void* operator new(size_t size); // Transaction is meant for stack use only. 72 void* operator new(size_t size); // Transaction is meant for stack use only.
73 73
74 // The underlying syncable object which this class wraps. 74 // The underlying syncable object which this class wraps.
75 syncable::WriteTransaction* transaction_; 75 syncable::WriteTransaction* transaction_;
76 76
77 DISALLOW_COPY_AND_ASSIGN(WriteTransaction); 77 DISALLOW_COPY_AND_ASSIGN(WriteTransaction);
78 }; 78 };
79 79
80 } // namespace syncer 80 } // namespace syncer
81 81
82 #endif // COMPONENTS_SYNC_CORE_WRITE_TRANSACTION_H_ 82 #endif // COMPONENTS_SYNC_SYNCABLE_WRITE_TRANSACTION_H_
OLDNEW
« no previous file with comments | « components/sync/syncable/write_node.cc ('k') | components/sync/syncable/write_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698