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

Unified Diff: chrome/browser/background_sync/background_sync_permission_context_unittest.cc

Issue 2110343002: Reintroduce plumbing for user gesture into permission system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 4 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: chrome/browser/background_sync/background_sync_permission_context_unittest.cc
diff --git a/chrome/browser/background_sync/background_sync_permission_context_unittest.cc b/chrome/browser/background_sync/background_sync_permission_context_unittest.cc
index aa6e24cb5095ffb76d6039b735d6975d67046dd4..6a1292927d44ec4e7c70c0562933938522a65072 100644
--- a/chrome/browser/background_sync/background_sync_permission_context_unittest.cc
+++ b/chrome/browser/background_sync/background_sync_permission_context_unittest.cc
@@ -40,7 +40,7 @@ class BackgroundSyncPermissionContextTest
web_contents()->GetRenderProcessHost()->GetID(),
web_contents()->GetMainFrame()->GetRoutingID(), -1 /* request_id */);
permission_context->RequestPermission(
- web_contents(), id, url,
+ web_contents(), id, url, false /* user_gesture */,
base::Bind(
&BackgroundSyncPermissionContextTest::TrackPermissionDecision,
base::Unretained(this), run_loop.QuitClosure()));

Powered by Google App Engine
This is Rietveld 408576698