Whitelist instead of restricting to components for fileBrowserPrivate.
It is impossible to whitelist an extension which is note a component, when the
api is restricted to components. Since we need to whitelist such regular
extension, this patch removes the location restriction and whitelists all
clients of this API.
Along the way, id testing extensions using this api has been changed to a new
one, since it was reused with other tests not related to the api.
TEST=browser_tests: *FileBrowser*, *FileManager*
BUG=None
Committed:
https://crrev.com/a8f8c2d4210aae4420ca6a751b2996dc0f36d358
Cr-Commit-Position: refs/heads/master@{#296823}