[DNR] Expose action count for extensions with permissions
When the extension has enabled displayActionCountAsBadgeText, the action count for a tab is displayed as the badge text. So far, if the extension then queries the badge text a placeholder is returned. With this change we instead return the action count if the extension has the declarativeNetRequestFeedback permission or activeTab access granted for the tab. Bug: 1139852 Change-Id: I0500cee99a854390e88a7a7cb6e25ef90972d815 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2502928Reviewed-by:Kelvin Jiang <kelvinjiang@chromium.org> Reviewed-by:
Karan Bhatia <karandeepb@chromium.org> Commit-Queue: Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#828380}
Showing
Please register or sign in to comment