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

Unified Diff: chrome/browser/content_settings/permission_queue_controller.h

Issue 360773003: [Geolocation] Enable content settings write using permissions bubbles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: chrome/browser/content_settings/permission_queue_controller.h
diff --git a/chrome/browser/content_settings/permission_queue_controller.h b/chrome/browser/content_settings/permission_queue_controller.h
index 24b178096f6e572abfd527d1ff6cf3b1025e3053..9fd62873d2a3cbd4899d2583e07cb8cb11796301 100644
--- a/chrome/browser/content_settings/permission_queue_controller.h
+++ b/chrome/browser/content_settings/permission_queue_controller.h
@@ -50,6 +50,11 @@ class PermissionQueueController : public content::NotificationObserver {
bool update_content_setting,
bool allowed);
+ // Performs the update to content settings for a particular request frame
+ // context.
+ void UpdateContentSetting(
+ const GURL& requesting_frame, const GURL& embedder, bool allowed);
+
protected:
// content::NotificationObserver:
virtual void Observe(int type,
@@ -78,9 +83,6 @@ class PermissionQueueController : public content::NotificationObserver {
void RegisterForInfoBarNotifications(InfoBarService* infobar_service);
void UnregisterForInfoBarNotifications(InfoBarService* infobar_service);
- void UpdateContentSetting(
- const GURL& requesting_frame, const GURL& embedder, bool allowed);
-
content::NotificationRegistrar registrar_;
Profile* const profile_;

Powered by Google App Engine
This is Rietveld 408576698