Chromium Code Reviews
Descriptionremove reliance on webcontents when requesting storage permission
When requesting storage permission, we don't need WebContents most of the time.
WebContents is only needed when we need to show the permission infobar.
This CL removes all the WebContents check when requesting storage permission.
Caller can pass an empty WebContentsGetter callback if they don't need infobar.
BUG=717077
Review-Url: https://codereview.chromium.org/2850223002
Cr-Commit-Position: refs/heads/master@{#469861}
Committed: https://chromium.googlesource.com/chromium/src/+/05fa41d9751a443a76dde0fe53cbfa927bb5d001
Patch Set 1 #
Total comments: 4
Patch Set 2 : nits #Patch Set 3 : fix mock class #Messages
Total messages: 19 (9 generated)
|