Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesBasic.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesBasic.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesBasic.java |
index 2a4cb11360a0f888742567ec3c0c3f1fa68d57d5..8241c0ac83ab6c5c76f28bb861042559ae87885d 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesBasic.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesBasic.java |
@@ -4,6 +4,8 @@ |
package org.chromium.chrome.browser.preferences.privacy; |
+import org.chromium.chrome.browser.browsing_data.ClearBrowsingDataTab; |
+ |
/** |
* A simpler version of {@link ClearBrowsingDataPreferences} with fewer dialog options and more |
* explanatory text. |
@@ -11,9 +13,12 @@ package org.chromium.chrome.browser.preferences.privacy; |
public class ClearBrowsingDataPreferencesBasic extends ClearBrowsingDataPreferencesTab { |
@Override |
protected DialogOption[] getDialogOptions() { |
- return new DialogOption[] { |
- DialogOption.CLEAR_HISTORY, DialogOption.CLEAR_COOKIES_AND_SITE_DATA, |
- DialogOption.CLEAR_CACHE |
- }; |
+ return new DialogOption[] {DialogOption.CLEAR_HISTORY, |
+ DialogOption.CLEAR_COOKIES_AND_SITE_DATA, DialogOption.CLEAR_CACHE}; |
+ } |
+ |
+ @Override |
+ protected int getPreferenceType() { |
+ return ClearBrowsingDataTab.BASIC; |
} |
} |