Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsiteSettingsCategoryFilter.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsiteSettingsCategoryFilter.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsiteSettingsCategoryFilter.java |
index 8c7ffc97ed6d95241bde9d199756a51836011f41..5a50e5dd38090fa3207574a249d8659eb892d6f2 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsiteSettingsCategoryFilter.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsiteSettingsCategoryFilter.java |
@@ -14,7 +14,6 @@ public class WebsiteSettingsCategoryFilter { |
private static final String FILTER_ALL_SITES = "all_sites"; |
private static final String FILTER_CAMERA = "camera"; |
private static final String FILTER_COOKIES = "cookies"; |
- private static final String FILTER_IMAGES = "images"; |
private static final String FILTER_JAVASCRIPT = "javascript"; |
private static final String FILTER_DEVICE_LOCATION = "device_location"; |
private static final String FILTER_FULLSCREEN = "fullscreen"; |
@@ -39,8 +38,6 @@ public class WebsiteSettingsCategoryFilter { |
return ContentSettingsType.CONTENT_SETTINGS_TYPE_FULLSCREEN; |
} else if (showGeolocationSites(key)) { |
return ContentSettingsType.CONTENT_SETTINGS_TYPE_GEOLOCATION; |
- } else if (showImagesSites(key)) { |
- return ContentSettingsType.CONTENT_SETTINGS_TYPE_IMAGES; |
} else if (showJavaScriptSites(key)) { |
return ContentSettingsType.CONTENT_SETTINGS_TYPE_JAVASCRIPT; |
} else if (showMicrophoneSites(key)) { |
@@ -97,14 +94,6 @@ public class WebsiteSettingsCategoryFilter { |
/** |
* @param filterValue A category value. |
- * @return Whether the category passed is the images category. |
- */ |
- public boolean showImagesSites(String filterValue) { |
- return filterValue.equals(FILTER_IMAGES); |
- } |
- |
- /** |
- * @param filterValue A category value. |
* @return Whether the category passed is the javascript category. |
*/ |
public boolean showJavaScriptSites(String filterValue) { |