Reduce the number of helpers
This commit is contained in:
parent
4fd8b04329
commit
b2e6340622
2 changed files with 3 additions and 14 deletions
|
@ -43,12 +43,8 @@ class WebContentsPermissionHelper
|
|||
void RequestPermission(
|
||||
content::PermissionType permission,
|
||||
const base::Callback<void(bool)>& callback,
|
||||
bool user_gesture = false);
|
||||
void RequestPermissionWithDetails(
|
||||
content::PermissionType permission,
|
||||
const base::Callback<void(bool)>& callback,
|
||||
bool user_gesture,
|
||||
const base::DictionaryValue* details);
|
||||
bool user_gesture = false,
|
||||
const base::DictionaryValue* details = nullptr);
|
||||
|
||||
content::WebContents* web_contents_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue