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

Unified Diff: chrome/browser/chrome_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: Traverse the parent frames. 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: chrome/browser/chrome_content_browser_client.h
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
index e42664bafe8a06e0e877a3d132c3d2c82b8e8c0c..7ff1ea4cd536289ba8eec366411e7d275f22eedf 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -19,6 +19,8 @@
#include "base/memory/scoped_ptr.h"
#endif
+class Profile;
+
namespace base {
class CommandLine;
}
@@ -212,6 +214,11 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
bool user_gesture,
base::Callback<void(bool)> result_callback,
base::Closure* cancel_callback) OVERRIDE;
+ virtual void UseContentSettingPermission(
+ content::WebContents* web_contents,
+ const GURL& primary_url,
+ const GURL& secondary_url,
+ const std::string& setting_type) OVERRIDE;
virtual void RequestProtectedMediaIdentifierPermission(
content::WebContents* web_contents,
const GURL& origin,

Powered by Google App Engine
This is Rietveld 408576698