Index: chrome/browser/ui/webui/options/content_settings_handler.h |
diff --git a/chrome/browser/ui/webui/options/content_settings_handler.h b/chrome/browser/ui/webui/options/content_settings_handler.h |
index f40a2c61942f44d82b00ee90f191ce2a9fceabd6..053c66748cfea8dc443380c2dad7afee642cdff4 100644 |
--- a/chrome/browser/ui/webui/options/content_settings_handler.h |
+++ b/chrome/browser/ui/webui/options/content_settings_handler.h |
@@ -14,6 +14,7 @@ |
#include "content/common/notification_registrar.h" |
class HostContentSettingsMap; |
+class ProtocolHandlerRegistry; |
class ContentSettingsHandler : public OptionsPageUIHandler { |
public: |
@@ -61,6 +62,8 @@ class ContentSettingsHandler : public OptionsPageUIHandler { |
// As above, but acts on the OTR table for the content setting type. |
void UpdateExceptionsViewFromOTRHostContentSettingsMap( |
ContentSettingsType type); |
+ // Updates the radio buttons for enabling / disabling handlers. |
+ void UpdateHandlersEnabledRadios(); |
// Callbacks used by the page ------------------------------------------------ |
@@ -101,6 +104,9 @@ class ContentSettingsHandler : public OptionsPageUIHandler { |
// |type| is managed. |
bool GetDefaultSettingManagedFromModel(ContentSettingsType type); |
+ // Gets the ProtocolHandlerRegistry for the normal profile. |
+ ProtocolHandlerRegistry* GetProtocolHandlerRegistry(); |
+ |
// Member variables --------------------------------------------------------- |
NotificationRegistrar notification_registrar_; |