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

Unified Diff: content/browser/permissions/permission_service_impl.h

Issue 2009773002: Add user_gesture bit back to Mojo PermissionService methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | content/browser/permissions/permission_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/permissions/permission_service_impl.h
diff --git a/content/browser/permissions/permission_service_impl.h b/content/browser/permissions/permission_service_impl.h
index dfda77549f197edc9963712267b47a86758acef0..a7daafee9b24b1f896873b7b1294f33f11682b0c 100644
--- a/content/browser/permissions/permission_service_impl.h
+++ b/content/browser/permissions/permission_service_impl.h
@@ -76,9 +76,11 @@ class PermissionServiceImpl : public blink::mojom::PermissionService {
const PermissionStatusCallback& callback) override;
void RequestPermission(blink::mojom::PermissionName permission,
const mojo::String& origin,
+ bool user_gesture,
const PermissionStatusCallback& callback) override;
void RequestPermissions(mojo::Array<blink::mojom::PermissionName> permissions,
const mojo::String& origin,
+ bool user_gesture,
const PermissionsStatusCallback& callback) override;
void RevokePermission(blink::mojom::PermissionName permission,
const mojo::String& origin,
« no previous file with comments | « no previous file | content/browser/permissions/permission_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698