move file access permission logic to DownloadResourceThrottle
As previously discussed, DownloadResouceThrottle is the best place to handle file access requests.
This CL moves that logic from DownloadTargetDeterminer to DownloadResourceThrottle.
Unit test is also added for DownloadResourceThrottle.
BUG=
501606
Committed:
https://crrev.com/58ad68abb6710ce2e9381132b26c70845d777c12
Cr-Commit-Position: refs/heads/master@{#339808}