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

Unified Diff: chrome/browser/geolocation/geolocation_permission_context_extensions.h

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/geolocation/geolocation_permission_context_extensions.h
diff --git a/chrome/browser/geolocation/geolocation_permission_context_extensions.h b/chrome/browser/geolocation/geolocation_permission_context_extensions.h
index 762d9a7908595f203d1e776a6065d7ee58ff780d..df042b8e721efdb63b05aef9c5f79dba87990a6a 100644
--- a/chrome/browser/geolocation/geolocation_permission_context_extensions.h
+++ b/chrome/browser/geolocation/geolocation_permission_context_extensions.h
@@ -30,6 +30,7 @@ class GeolocationPermissionContextExtensions {
const PermissionRequestID& request_id,
int bridge_id,
const GURL& requesting_frame,
+ bool user_gesture,
const base::Callback<void(ContentSetting)>& callback,
bool* permission_set,
bool* new_permission);

Powered by Google App Engine
This is Rietveld 408576698