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

Unified Diff: sync/syncable/mutable_entry.h

Issue 23435008: sync: Refactor MutablEntry internals (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sync/syncable/mutable_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/mutable_entry.h
diff --git a/sync/syncable/mutable_entry.h b/sync/syncable/mutable_entry.h
index 2a5a047ebeaa2d16491fb8d462287c3df456a331..40079e17ccb62a08277512f94fcbcdfd0432746d 100644
--- a/sync/syncable/mutable_entry.h
+++ b/sync/syncable/mutable_entry.h
@@ -62,7 +62,7 @@ class SYNC_EXPORT_PRIVATE MutableEntry : public Entry {
bool PutIsUnappliedUpdate(bool value);
void PutIsDir(bool value);
void PutServerIsDir(bool value);
- bool PutIsDel(bool value);
+ void PutIsDel(bool value);
void PutServerIsDel(bool value);
void PutNonUniqueName(const std::string& value);
void PutServerNonUniqueName(const std::string& value);
@@ -107,17 +107,6 @@ class SYNC_EXPORT_PRIVATE MutableEntry : public Entry {
friend class WriteTransaction;
friend class syncer::WriteNode;
- bool Put(Int64Field field, const int64& value);
- bool Put(TimeField field, const base::Time& value);
- bool Put(IdField field, const Id& value);
- bool Put(StringField field, const std::string& value);
- bool Put(BaseVersion field, int64 value);
- bool Put(ProtoField field, const sync_pb::EntitySpecifics& value);
- bool Put(BitTemp field, bool value);
- bool Put(BitField field, bool value);
- bool Put(IndexedBitField field, bool value);
- bool Put(UniquePositionField field, const UniquePosition& value);
-
// Don't allow creation on heap, except by sync API wrappers.
void* operator new(size_t size) { return (::operator new)(size); }
« no previous file with comments | « no previous file | sync/syncable/mutable_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698