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

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

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Rebase. 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/model_type_unittest.cc ('k') | components/sync/syncable/nigori_util.h » ('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_SYNCABLE_MUTABLE_ENTRY_H_ 5 #ifndef COMPONENTS_SYNC_SYNCABLE_MUTABLE_ENTRY_H_
6 #define COMPONENTS_SYNC_SYNCABLE_MUTABLE_ENTRY_H_ 6 #define COMPONENTS_SYNC_SYNCABLE_MUTABLE_ENTRY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "components/sync/base/model_type.h" 13 #include "components/sync/base/model_type.h"
14 #include "components/sync/syncable/entry.h" 14 #include "components/sync/syncable/entry.h"
15 #include "components/sync/syncable/metahandle_set.h" 15 #include "components/sync/syncable/metahandle_set.h"
16 #include "components/sync/syncable/model_neutral_mutable_entry.h" 16 #include "components/sync/syncable/model_neutral_mutable_entry.h"
17 17
18 namespace syncer { 18 namespace syncer {
19
19 class WriteNode; 20 class WriteNode;
20 21
21 namespace syncable { 22 namespace syncable {
22 23
23 enum Create { CREATE }; 24 enum Create { CREATE };
24 25
25 class WriteTransaction; 26 class WriteTransaction;
26 27
27 // A mutable meta entry. Changes get committed to the database when the 28 // A mutable meta entry. Changes get committed to the database when the
28 // WriteTransaction is destroyed. 29 // WriteTransaction is destroyed.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 DISALLOW_COPY_AND_ASSIGN(MutableEntry); 87 DISALLOW_COPY_AND_ASSIGN(MutableEntry);
87 }; 88 };
88 89
89 // This function sets only the flags needed to get this entry to sync. 90 // This function sets only the flags needed to get this entry to sync.
90 bool MarkForSyncing(syncable::MutableEntry* e); 91 bool MarkForSyncing(syncable::MutableEntry* e);
91 92
92 } // namespace syncable 93 } // namespace syncable
93 } // namespace syncer 94 } // namespace syncer
94 95
95 #endif // COMPONENTS_SYNC_SYNCABLE_MUTABLE_ENTRY_H_ 96 #endif // COMPONENTS_SYNC_SYNCABLE_MUTABLE_ENTRY_H_
OLDNEW
« no previous file with comments | « components/sync/syncable/model_type_unittest.cc ('k') | components/sync/syncable/nigori_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698