Use the IAttachmentExecute service to set the Zone.Identifier stream,
when available. This is used to mark files as untrusted, because they were downloaded from the internet.

The DownloadTest.CheckInternetZone browser test was failing previously because
the Zone.Identifier stream created by the IAttachmentExecute service uses \r\n
for newlines, and the test was checking for \n.

See also http://codereview.chromium.org/590001, which this should close.

BUG=5719
TEST=DownloadTest.CheckInternetZone

Review URL: http://codereview.chromium.org/6880236

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83502 0039d316-1c4b-4281-b951-d872f2087c98
4 files changed