Index: chrome/browser/ui/webui/options/content_settings_handler.cc |
diff --git a/chrome/browser/ui/webui/options/content_settings_handler.cc b/chrome/browser/ui/webui/options/content_settings_handler.cc |
index f4019d18e36f54d36f910f33937d44ef05941a30..608c7f4fe74b31952707bc9f78c676487467a3bd 100644 |
--- a/chrome/browser/ui/webui/options/content_settings_handler.cc |
+++ b/chrome/browser/ui/webui/options/content_settings_handler.cc |
@@ -24,6 +24,7 @@ |
#include "chrome/browser/ui/browser_list.h" |
#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/chrome_switches.h" |
+#include "chrome/common/content_settings.h" |
#include "chrome/common/content_settings_pattern.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/common/url_constants.h" |
@@ -470,7 +471,7 @@ void ContentSettingsHandler::UpdateGeolocationExceptionsView() { |
Profile* profile = Profile::FromWebUI(web_ui_); |
HostContentSettingsMap* map = profile->GetHostContentSettingsMap(); |
- HostContentSettingsMap::SettingsForOneType all_settings; |
+ ContentSettingsForOneType all_settings; |
map->GetSettingsForOneType( |
CONTENT_SETTINGS_TYPE_GEOLOCATION, |
std::string(), |
@@ -478,7 +479,7 @@ void ContentSettingsHandler::UpdateGeolocationExceptionsView() { |
// Group geolocation settings by primary_pattern. |
AllPatternsSettings all_patterns_settings; |
- for (HostContentSettingsMap::SettingsForOneType::iterator i = |
+ for (ContentSettingsForOneType::iterator i = |
all_settings.begin(); |
i != all_settings.end(); |
++i) { |
@@ -530,15 +531,15 @@ void ContentSettingsHandler::UpdateNotificationExceptionsView() { |
DesktopNotificationService* service = |
DesktopNotificationServiceFactory::GetForProfile(profile); |
- HostContentSettingsMap::SettingsForOneType settings; |
+ ContentSettingsForOneType settings; |
service->GetNotificationsSettings(&settings); |
ListValue exceptions; |
- for (HostContentSettingsMap::SettingsForOneType::const_iterator i = |
+ for (ContentSettingsForOneType::const_iterator i = |
settings.begin(); |
i != settings.end(); |
++i) { |
- const HostContentSettingsMap::PatternSettingSourceTuple& tuple(*i); |
+ const ContentSettingPatternSourceTuple& tuple(*i); |
exceptions.Append( |
GetNotificationExceptionForPage(tuple.a, tuple.c, tuple.d)); |
} |
@@ -555,7 +556,7 @@ void ContentSettingsHandler::UpdateNotificationExceptionsView() { |
void ContentSettingsHandler::UpdateExceptionsViewFromHostContentSettingsMap( |
ContentSettingsType type) { |
- HostContentSettingsMap::SettingsForOneType entries; |
+ ContentSettingsForOneType entries; |
GetContentSettingsMap()->GetSettingsForOneType(type, "", &entries); |
ListValue exceptions; |
@@ -592,7 +593,7 @@ void ContentSettingsHandler::UpdateExceptionsViewFromOTRHostContentSettingsMap( |
if (!otr_settings_map) |
return; |
- HostContentSettingsMap::SettingsForOneType otr_entries; |
+ ContentSettingsForOneType otr_entries; |
otr_settings_map->GetSettingsForOneType(type, "", &otr_entries); |
ListValue otr_exceptions; |