Chromium Code Reviews

Unified Diff: content/shell/browser/shell_permission_manager.cc

Issue 1158813002: Use RenderFrameHost for ::RequestPermission() and ::CancelPermission(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build fixes Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « content/shell/browser/shell_permission_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_permission_manager.cc
diff --git a/content/shell/browser/shell_permission_manager.cc b/content/shell/browser/shell_permission_manager.cc
index 1050e63dc7489913f743bd02ab1d106503d04962..fffcfa560c3baf9dd26e7e39c876492fc2650b7e 100644
--- a/content/shell/browser/shell_permission_manager.cc
+++ b/content/shell/browser/shell_permission_manager.cc
@@ -18,7 +18,7 @@ ShellPermissionManager::~ShellPermissionManager() {
void ShellPermissionManager::RequestPermission(
PermissionType permission,
- WebContents* web_contents,
+ RenderFrameHost* render_frame_host,
int request_id,
const GURL& requesting_origin,
bool user_gesture,
@@ -29,7 +29,7 @@ void ShellPermissionManager::RequestPermission(
void ShellPermissionManager::CancelPermissionRequest(
PermissionType permission,
- WebContents* web_contents,
+ RenderFrameHost* render_frame_host,
int request_id,
const GURL& requesting_origin) {
}
« no previous file with comments | « content/shell/browser/shell_permission_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine