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

Unified Diff: content/shell/browser/layout_test/layout_test_push_messaging_service.cc

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: content/shell/browser/layout_test/layout_test_push_messaging_service.cc
diff --git a/content/shell/browser/layout_test/layout_test_push_messaging_service.cc b/content/shell/browser/layout_test/layout_test_push_messaging_service.cc
index 493193597cbc7dfacf529d940daaa46ff46ffcad..667923649f0dd162e2cfef3a07f2b42272ebe157 100644
--- a/content/shell/browser/layout_test/layout_test_push_messaging_service.cc
+++ b/content/shell/browser/layout_test/layout_test_push_messaging_service.cc
@@ -75,6 +75,7 @@ void LayoutTestPushMessagingService::SubscribeFromDocument(
int renderer_id,
int render_frame_id,
const PushSubscriptionOptions& options,
+ bool user_gesture,
const RegisterCallback& callback) {
SubscribeFromWorker(requesting_origin, service_worker_registration_id,
options, callback);

Powered by Google App Engine
This is Rietveld 408576698