DescriptionAdd an infobar to resolve android runtime permission mismatches.
With runtime permissions on android M, Chrome can get into a
mismatched state where a user had previously granted a site
a particular content setting (i.e. location), but then the user
goes into the app info and disable the required permission.
When a user is in this state, we want to prompt an infobar that
notifies the user of this mismatch and allows them to rectify it.
This patch only adds this infobar to geolocation, but it should
also be added to the media permission requests.
BUG=499393
Committed: https://crrev.com/76bf8120ce6c788584212096886036d023d5c178
Cr-Commit-Position: refs/heads/master@{#339939}
Patch Set 1 #
Total comments: 12
Patch Set 2 : Add missing override #Patch Set 3 : Rebased #Patch Set 4 : Address dfalcantara@ comment #
Total comments: 5
Patch Set 5 : Whitespace fix #Patch Set 6 : Rebased #Messages
Total messages: 28 (8 generated)
|