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

Unified Diff: content/test/mock_permission_manager.h

Issue 2110343002: Reintroduce plumbing for user gesture into permission system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatting 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.h
diff --git a/content/test/mock_permission_manager.h b/content/test/mock_permission_manager.h
index d9151b9d96577d1c012ef573eb1f32f4adbc83f2..3f767aeb285cd3d3c9120034ed71369f53c5a90e 100644
--- a/content/test/mock_permission_manager.h
+++ b/content/test/mock_permission_manager.h
@@ -31,12 +31,14 @@ class MockPermissionManager : public PermissionManager {
PermissionType permission,
RenderFrameHost* render_frame_host,
const GURL& requesting_origin,
+ bool user_gesture,
const base::Callback<void(blink::mojom::PermissionStatus)>& callback)
override;
int 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)
override;

Powered by Google App Engine
This is Rietveld 408576698