| Index: sync/syncable/directory.h
|
| diff --git a/sync/syncable/directory.h b/sync/syncable/directory.h
|
| index 5d26bbdbac34ab006f3c1cfa4dfb7b22918d27d4..f7dd44ebb8377d746914e2bc9a6568a4cfc41cd0 100644
|
| --- a/sync/syncable/directory.h
|
| +++ b/sync/syncable/directory.h
|
| @@ -397,6 +397,13 @@ class SYNC_EXPORT Directory {
|
| bool IsAttachmentLinked(
|
| const sync_pb::AttachmentIdProto& attachment_id_proto) const;
|
|
|
| + // Given attachment id return metahandles to all entries that reference this
|
| + // attachment.
|
| + void GetMetahandlesByAttachmentId(
|
| + BaseTransaction* trans,
|
| + const sync_pb::AttachmentIdProto& attachment_id_proto,
|
| + Metahandles* result);
|
| +
|
| protected: // for friends, mainly used by Entry constructors
|
| virtual EntryKernel* GetEntryByHandle(int64 handle);
|
| virtual EntryKernel* GetEntryByHandle(int64 metahandle,
|
|
|