DescriptionPrompt user for file access permission before download starts
Please bring the discussion offline.
Background:
On some systems we need to ask for user permission before download is able to write to storage.
This change adds an extra step to check file access at the begining of file path generation.
If user is granted file access, download will proceed. Otherwise, it will be canceled.
BUG=501606
Committed: https://crrev.com/1fa54a4e6bac3ecb49a61ee9594fe73fc23edd0d
Cr-Commit-Position: refs/heads/master@{#337686}
Patch Set 1 : #
Total comments: 16
Patch Set 2 : nits #Patch Set 3 : addressing asanka's comments #
Total comments: 10
Patch Set 4 : addressing comments #Patch Set 5 : FixDownloadManagerDelegateTest #
Total comments: 6
Patch Set 6 : nits #Messages
Total messages: 37 (12 generated)
|