| Index: chrome/browser/content_settings/host_content_settings_map.cc
|
| diff --git a/chrome/browser/content_settings/host_content_settings_map.cc b/chrome/browser/content_settings/host_content_settings_map.cc
|
| index 13da43c62d5f58eacbfc957c7dc20dc857a7c7f8..27e78ebd1a5ae10fc464dd363e114002da586f40 100644
|
| --- a/chrome/browser/content_settings/host_content_settings_map.cc
|
| +++ b/chrome/browser/content_settings/host_content_settings_map.cc
|
| @@ -152,16 +152,6 @@ ContentSetting HostContentSettingsMap::GetDefaultContentSetting(
|
| return CONTENT_SETTING_DEFAULT;
|
| }
|
|
|
| -ContentSettings HostContentSettingsMap::GetDefaultContentSettings() const {
|
| - ContentSettings output(CONTENT_SETTING_DEFAULT);
|
| - for (int i = 0; i < CONTENT_SETTINGS_NUM_TYPES; ++i) {
|
| - if (!ContentTypeHasCompoundValue(ContentSettingsType(i)))
|
| - output.settings[i] = GetDefaultContentSetting(ContentSettingsType(i),
|
| - NULL);
|
| - }
|
| - return output;
|
| -}
|
| -
|
| ContentSetting HostContentSettingsMap::GetContentSetting(
|
| const GURL& primary_url,
|
| const GURL& secondary_url,
|
| @@ -202,23 +192,6 @@ base::Value* HostContentSettingsMap::GetContentSettingValue(
|
| return NULL;
|
| }
|
|
|
| -ContentSettings HostContentSettingsMap::GetContentSettings(
|
| - const GURL& primary_url) const {
|
| - ContentSettings output;
|
| - // If we require a resource identifier, set the content settings to default,
|
| - // otherwise make the defaults explicit. Values for content type
|
| - // CONTENT_SETTINGS_TYPE_AUTO_SELECT_CERTIFICATE can't be mapped to the type
|
| - // |ContentSetting|. So we ignore them here.
|
| - for (int j = 0; j < CONTENT_SETTINGS_NUM_TYPES; ++j) {
|
| - ContentSettingsType type = ContentSettingsType(j);
|
| - if (!ContentTypeHasCompoundValue(type)) {
|
| - output.settings[j] = GetContentSetting(
|
| - primary_url, primary_url, ContentSettingsType(j), std::string());
|
| - }
|
| - }
|
| - return output;
|
| -}
|
| -
|
| void HostContentSettingsMap::GetSettingsForOneType(
|
| ContentSettingsType content_type,
|
| const std::string& resource_identifier,
|
|
|