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

Unified Diff: content/public/browser/push_messaging_service.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 | « content/common/push_messaging.mojom ('k') | content/renderer/push_messaging/push_messaging_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/push_messaging_service.h
diff --git a/content/public/browser/push_messaging_service.h b/content/public/browser/push_messaging_service.h
index 41cbd4d4639b6add058518fc4e11cf97714b8fe5..42cb5d20f37a551876ba76a1558b40ad5b482a87 100644
--- a/content/public/browser/push_messaging_service.h
+++ b/content/public/browser/push_messaging_service.h
@@ -53,6 +53,7 @@ class CONTENT_EXPORT PushMessagingService {
int renderer_id,
int render_frame_id,
const PushSubscriptionOptions& options,
+ bool user_gesture,
const RegisterCallback& callback) = 0;
// Subscribe the given |options.sender_info| with the push messaging service.
« no previous file with comments | « content/common/push_messaging.mojom ('k') | content/renderer/push_messaging/push_messaging_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698