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

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: Update the utils. 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..88f66cedabf0cc696d91290e0f3983e24de9f05b 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -474,6 +474,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.
Bernhard Bauer 2014/07/14 10:50:33 Informs whom? Content settings host map (actually
Daniel Nishi 2014/07/14 17:12:54 Removed reference to chrome concept.
+ virtual void UseContentSettingPermission(WebContents* web_contents,
Bernhard Bauer 2014/07/14 10:50:33 I would probably call this "DidUse..." or somethin
Daniel Nishi 2014/07/14 17:12:54 Done.
+ const GURL& primary_url,
+ const GURL& secondary_url,
+ const std::string& setting_type);
Bernhard Bauer 2014/07/14 10:50:33 This is somewhat weird as a content embedder inter
Daniel Nishi 2014/07/14 17:12:54 I'm not sure if WebContentsObserver is the right l
+
// 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