Skip to content

Commit

Permalink
5483406: [PEPC] Make PEPC permission subscription take into account d…
Browse files Browse the repository at this point in the history
  • Loading branch information
clavin authored and ckerr committed May 31, 2024
1 parent 11905a9 commit fc93c87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions shell/browser/electron_permission_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ ElectronPermissionManager::SubscribeToPermissionStatusChange(
content::RenderProcessHost* render_process_host,
content::RenderFrameHost* render_frame_host,
const GURL& requesting_origin,
bool should_include_device_status,
base::RepeatingCallback<void(blink::mojom::PermissionStatus)> callback) {
return SubscriptionId();
}
Expand Down
1 change: 1 addition & 0 deletions shell/browser/electron_permission_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ class ElectronPermissionManager : public content::PermissionControllerDelegate {
content::RenderProcessHost* render_process_host,
content::RenderFrameHost* render_frame_host,
const GURL& requesting_origin,
bool should_include_device_status,
base::RepeatingCallback<void(blink::mojom::PermissionStatus)> callback)
override;
void UnsubscribeFromPermissionStatusChange(SubscriptionId id) override;
Expand Down

0 comments on commit fc93c87

Please sign in to comment.