Index: chrome/android/javatests/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTest.java |
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTest.java |
index 355f597ca21d95f875b99b47812cde9471120d19..a0233435edc4861582f3867c47d6f5575298e1e2 100644 |
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTest.java |
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTest.java |
@@ -23,6 +23,7 @@ import org.chromium.base.test.util.RetryOnFailure; |
import org.chromium.chrome.browser.ChromeActivity; |
import org.chromium.chrome.browser.ChromeFeatureList; |
import org.chromium.chrome.browser.ShortcutHelper; |
+import org.chromium.chrome.browser.browsing_data.ClearBrowsingDataPreferenceType; |
import org.chromium.chrome.browser.preferences.ButtonPreference; |
import org.chromium.chrome.browser.preferences.PrefServiceBridge; |
import org.chromium.chrome.browser.preferences.Preferences; |
@@ -605,7 +606,7 @@ public class ClearBrowsingDataPreferencesTest |
for (DialogOption option : DialogOption.values()) { |
boolean enabled = typesToClear.contains(option); |
PrefServiceBridge.getInstance().setBrowsingDataDeletionPreference( |
- option.getDataType(), enabled); |
+ option.getDataType(), ClearBrowsingDataPreferenceType.DEFAULT, enabled); |
} |
} |
}); |