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

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: Add auditing for actual usage, too. Created 6 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/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 739f4c0ff75af62c174a2946713df93deca519bb..77c77af9cb2a0563c1e26948a36a66ff9811668a 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -473,6 +473,12 @@ class CONTENT_EXPORT ContentBrowserClient {
base::Callback<void(bool)> result_callback,
base::Closure* cancel_callback);
+ // Informs the content settings host map that a permission has been used.
Michael van Ouwerkerk 2014/07/01 11:02:24 I don't think you can refer to the host map here a
Daniel Nishi 2014/07/01 18:37:48 Done.
+ virtual void UseContentSettingPermission(content::WebContents* web_contents,
+ const GURL& primary_url,
+ const GURL& secondary_url,
+ const std::string& setting_type);
+
// Returns true if the given page is allowed to open a window of the given
// type. If true is returned, |no_javascript_access| will indicate whether
// the window that is created should be scriptable/in the same process.

Powered by Google App Engine
This is Rietveld 408576698