chore: modernize ListValue usage in permission manager (#34662)
This commit is contained in:
parent
4ddd03b1b3
commit
0d4e417594
5 changed files with 54 additions and 59 deletions
|
@ -59,10 +59,10 @@ class WebContentsPermissionHelper
|
|||
void RequestPermission(blink::PermissionType permission,
|
||||
base::OnceCallback<void(bool)> callback,
|
||||
bool user_gesture = false,
|
||||
const base::DictionaryValue* details = nullptr);
|
||||
base::Value::Dict details = {});
|
||||
|
||||
bool CheckPermission(blink::PermissionType permission,
|
||||
const base::DictionaryValue* details) const;
|
||||
base::Value::Dict details) const;
|
||||
|
||||
// TODO(clavin): refactor to use the WebContents provided by the
|
||||
// WebContentsUserData base class instead of storing a duplicate ref
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue