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..ec1fd071576e7ff0091e71aaff37480dd84c8d51 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.ClearBrowsingDataPreferenceType; |
+ |
/** |
* 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 ClearBrowsingDataPreferenceType.BASIC; |
} |
} |