Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(656)

Unified Diff: content/test/mock_permission_manager.cc

Issue 2110343002: Reintroduce plumbing for user gesture into permission system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/test/mock_permission_manager.cc
diff --git a/content/test/mock_permission_manager.cc b/content/test/mock_permission_manager.cc
index 09fb9358b6c6b75358e100f4bfbb3252ab5cb423..f7864d0e603f9ae6599d330103ac27bfa671acae 100644
--- a/content/test/mock_permission_manager.cc
+++ b/content/test/mock_permission_manager.cc
@@ -16,6 +16,7 @@ int MockPermissionManager::RequestPermission(
PermissionType permission,
RenderFrameHost* render_frame_host,
const GURL& requesting_origin,
+ bool user_gesture,
const base::Callback<void(blink::mojom::PermissionStatus)>& callback) {
return kNoPendingOperation;
}
@@ -24,6 +25,7 @@ int MockPermissionManager::RequestPermissions(
const std::vector<PermissionType>& permission,
RenderFrameHost* render_frame_host,
const GURL& requesting_origin,
+ bool user_gesture,
const base::Callback<
void(const std::vector<blink::mojom::PermissionStatus>&)>& callback) {
return kNoPendingOperation;
« no previous file with comments | « content/test/mock_permission_manager.h ('k') | extensions/browser/guest_view/web_view/web_view_permission_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698