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

Unified Diff: third_party/WebKit/public/platform/modules/push_messaging/WebPushClient.h

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
Index: third_party/WebKit/public/platform/modules/push_messaging/WebPushClient.h
diff --git a/third_party/WebKit/public/platform/modules/push_messaging/WebPushClient.h b/third_party/WebKit/public/platform/modules/push_messaging/WebPushClient.h
index da93df97b6b7d969d338bf79e90604168e745396..51f4f8d829079f1aeb7264b0a09781191a8cd3f9 100644
--- a/third_party/WebKit/public/platform/modules/push_messaging/WebPushClient.h
+++ b/third_party/WebKit/public/platform/modules/push_messaging/WebPushClient.h
@@ -23,6 +23,7 @@ class WebPushClient {
// Ownership of the callbacks is transferred to the client.
virtual void Subscribe(WebServiceWorkerRegistration*,
const WebPushSubscriptionOptions&,
+ bool user_gesture,
std::unique_ptr<WebPushSubscriptionCallbacks>) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698