Chromium Code Reviews
DescriptionImplement DelegationTracker for tracking delegated permissions to RenderFrameHosts
DelegationTracker maintains a browser-side mapping of which frames have
delegated permissions to other frames. It also allows querying whether a
permission has actually been granted to a frame based on permissions that have
been delegated in the tree of frames and based on the origins of the frames
involved.
For each child RenderFrameHost that permissions are set for, an entry is
added to a map. That entry is removed when the RenderFrameHost is destroyed
or navigated such that permissions will no longer be delegated to it.
A MockRenderFrameHost has been introduced to aid testing.
BUG=614608
Committed: https://crrev.com/7c1c35a23e257dc27e32827500bf9ca56510df89
Cr-Commit-Position: refs/heads/master@{#401478}
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 #Patch Set 4 #
Total comments: 2
Patch Set 5 : Implement DelegationTracker for tracking delegated permissions to RenderFrameHosts #Patch Set 6 : Implement DelegationTracker for tracking delegated permissions to RenderFrameHosts #
Total comments: 3
Patch Set 7 : Implement DelegationTracker for tracking delegated permissions to RenderFrameHosts #Messages
Total messages: 23 (10 generated)
|