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

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

Issue 11488009: Add content settings page action for Pepper broker authorization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years 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/tab_specific_content_settings.h
diff --git a/chrome/browser/content_settings/tab_specific_content_settings.h b/chrome/browser/content_settings/tab_specific_content_settings.h
index 1ab21f8428cce554420101b4fd45dfbff4461d67..33ee5399ab26df7a36a91a5d8a9d111f93b48e7a 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings.h
+++ b/chrome/browser/content_settings/tab_specific_content_settings.h
@@ -230,6 +230,10 @@ class TabSpecificContentSettings
load_plugins_link_enabled_ = enabled;
}
+ // Called to indicate whether access to the Pepper broker was allowed or
+ // blocked.
+ void SetPepperBrokerAllowed(bool allowed);
+
// content::WebContentsObserver overrides.
virtual void RenderViewForInterstitialPageCreated(
content::RenderViewHost* render_view_host) OVERRIDE;
@@ -250,6 +254,7 @@ class TabSpecificContentSettings
// Message handlers. Public for testing.
void OnContentBlocked(ContentSettingsType type,
const std::string& resource_identifier);
+ void OnContentAccessed(ContentSettingsType type);
// These methods are invoked on the UI thread by the static functions above.
// Public for testing.
@@ -291,8 +296,6 @@ class TabSpecificContentSettings
void AddBlockedResource(ContentSettingsType content_type,
const std::string& resource_identifier);
- void OnContentAccessed(ContentSettingsType type);
-
// content::NotificationObserver implementation.
virtual void Observe(int type,
const content::NotificationSource& source,

Powered by Google App Engine
This is Rietveld 408576698