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

Unified Diff: content/public/browser/content_browser_client.h

Issue 356543003: Audit the last usage of Geolocation and Notification permissions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Jam nits. Created 6 years, 5 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/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 356c724e59da6db092aa0055e5fa68f3d94432e0..68fa0d67dc7fb256fc8904c480f03e87b865cead 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -453,6 +453,11 @@ class CONTENT_EXPORT ContentBrowserClient {
base::Callback<void(bool)> result_callback,
base::Closure* cancel_callback);
+ // Invoked when the Geolocation API uses its permission.
+ virtual void DidUseGeolocationPermission(WebContents* web_contents,
+ const GURL& frame_url,
+ const GURL& main_frame_url) {}
+
// Requests a permission to use system exclusive messages in MIDI events.
// |result_callback| will be invoked when the request is resolved. If
// |cancel_callback| is non-null, it's set to a callback which can be used to

Powered by Google App Engine
This is Rietveld 408576698