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

Unified Diff: sync/syncable/entry.h

Issue 211523002: Add AttachmentMetadata to Sync's EntryKernel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forgot about using META_PROTO_TIMES_VALS in the test. Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/syncable/directory_backing_store_unittest.cc ('k') | sync/syncable/entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/entry.h
diff --git a/sync/syncable/entry.h b/sync/syncable/entry.h
index 09ff9c7004f252e839734c84d96747417d254293..47b9c593301d0d96f88aefef8f4f9f7d5d80a6b1 100644
--- a/sync/syncable/entry.h
+++ b/sync/syncable/entry.h
@@ -196,6 +196,11 @@ class SYNC_EXPORT Entry {
return kernel_->ref(UNIQUE_POSITION);
}
+ const sync_pb::AttachmentMetadata& GetAttachmentMetadata() const {
+ DCHECK(kernel_);
+ return kernel_->ref(ATTACHMENT_METADATA);
+ }
+
bool GetSyncing() const {
DCHECK(kernel_);
return kernel_->ref(SYNCING);
« no previous file with comments | « sync/syncable/directory_backing_store_unittest.cc ('k') | sync/syncable/entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698