Chromium Code Reviews
Description[downloads] Correctly plumb client ID for download file scanning.
The client GUID for download file scanning wasn't plumbed all the way
through the download system. This caused the underlying quarantine logic
to always apply the mark-of-the-web even if the local configuration
wouldn't have required it.
The plumbing for the client GUID was broken in 4350f6a0 (Mar 14, 2016).
IAttachmentExecute::Save() continued to function since the client GUID
is optional. However, bd57338f (Sep 21, 2016) made it so that Chrome
sets the mark-of-the-web directly if no client GUID is present. This CL
fixes the plumbing of the client GUID so that AttachmentServices is
correctly invoked.
Unit testing ensured that downloads were always receiving the MOTW when
appropriate. However, there were no end-to-end test that was ensuring
that the MOTW didn't get applied when it is not necessary.
BUG=650111
Committed: https://crrev.com/db9e50adb265249e4082721b10d15050901be42b
Cr-Commit-Position: refs/heads/master@{#422422}
Patch Set 1 #Patch Set 2 : . #
Messages
Total messages: 17 (11 generated)
|
|||||||||||||||||||||||||||||||||||||