DescriptionRemove the component location check from fileBrowserPrivate code.
There is already a white list in the manifest, so this extra manual check
became redundant. Moreover, we want to give access to this API to some apps
which are not components.
Since this API is very powerful, a test has been added to make sure that
random apps will never have access to this API.
TEST=browser_tests: *FileManagerPrivateApiTest*Permissions*
BUG=None
Committed: https://crrev.com/6958b7fc4bfdfacbb5f8a7202ac79782b39bcbde
Cr-Commit-Position: refs/heads/master@{#297143}
Patch Set 1 #Patch Set 2 : Added missing files. #
Total comments: 2
Patch Set 3 : Fixed. #
Messages
Total messages: 10 (3 generated)
|