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

Unified Diff: third_party/WebKit/public/platform/modules/push_messaging/WebPushProvider.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
« no previous file with comments | « third_party/WebKit/public/platform/modules/push_messaging/WebPushClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/push_messaging/WebPushProvider.h
diff --git a/third_party/WebKit/public/platform/modules/push_messaging/WebPushProvider.h b/third_party/WebKit/public/platform/modules/push_messaging/WebPushProvider.h
index 3256746b24bbc7b4e5e41db8dbe2b7c93d6fdf69..3cb28c8a5d8504cd6b2b9d09586b594436a1dd55 100644
--- a/third_party/WebKit/public/platform/modules/push_messaging/WebPushProvider.h
+++ b/third_party/WebKit/public/platform/modules/push_messaging/WebPushProvider.h
@@ -31,6 +31,7 @@ class WebPushProvider {
// Does not take ownership of the WebServiceWorkerRegistration.
virtual void Subscribe(WebServiceWorkerRegistration*,
const WebPushSubscriptionOptions&,
+ bool user_gesture,
std::unique_ptr<WebPushSubscriptionCallbacks>) = 0;
// Takes ownership of the WebPushSubscriptionCallbacks.
« no previous file with comments | « third_party/WebKit/public/platform/modules/push_messaging/WebPushClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698