DescriptionRevert of Keep track of which attachments are referenced by which sync entries. (https://codereview.chromium.org/247983002/)
Reason for revert:
Looks like this may have introduced a memory leak:
http://build.chromium.org/p/chromium.memory.fyi/builders/Linux%20Tests%20%28valgrind%29%282%29/builds/37232
Reverting. Will investigate and reland when appropriate.
Original issue's description:
> Keep track of which attachments are referenced by which sync entries.
>
> PutAttachmentMetadata on MutableEntry now notifies the Directory when
> the attachments associated with an entry change.
>
> Give Directory::InitializeIndices a ScopedKernelLock to be consistent
> and make it easier to ensure we are locking when we need to.
>
> GenericChangeProcess passes new attachments to AttachmentService for
> storage and upload.
>
> Add an output parameter to GenericChangeProcessor's HandleActionAdd and
> HandleActionUpdate methods so they can keep track of potentially new
> attachments and pass them to AttachmentService for storage/upload.
>
> Convert AttachmentService's OnSyncDataAdd to StoreAttachments.
>
> Implement HasAttachmentNotOnServer.
>
> BUG=348625, 353303, 354530, 356266
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267617
TBR=pavely@chromium.org,tim@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=348625, 353303, 354530, 356266
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267649
Patch Set 1 #
Created: 6 years, 7 months ago
(Patch set is too large to download)
Messages
Total messages: 12 (0 generated)
|