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

Unified Diff: content/common/push_messaging.mojom

Issue 2935333003: Propagate the user gesture bit when requesting push messaging permission. (Closed)
Patch Set: ThreadSafe user gesture check Created 3 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
« no previous file with comments | « content/child/push_messaging/push_provider.cc ('k') | content/public/browser/push_messaging_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/push_messaging.mojom
diff --git a/content/common/push_messaging.mojom b/content/common/push_messaging.mojom
index 6ec28f5d6e579a367b209240c1c186a570405868..94b0ea1f902aaf04cf6c86e0e098ef18a224592e 100644
--- a/content/common/push_messaging.mojom
+++ b/content/common/push_messaging.mojom
@@ -143,7 +143,8 @@ enum PushPermissionStatus {
interface PushMessaging {
Subscribe(int32 render_frame_id,
int64 service_worker_registration_id,
- PushSubscriptionOptions options)
+ PushSubscriptionOptions options,
+ bool user_gesture)
=> (PushRegistrationStatus status,
url.mojom.Url? endpoint,
PushSubscriptionOptions? options,
« no previous file with comments | « content/child/push_messaging/push_provider.cc ('k') | content/public/browser/push_messaging_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698