Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(764)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsitePreferenceBridge.java

Issue 2953853002: [Android Site Settings] Disable fetching important sites when not needed (Closed)
Patch Set: comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsitePreferenceBridge.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsitePreferenceBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsitePreferenceBridge.java
index 6e7792d5e3d7cb6de748316a456a97e00862945f..4e42b9d956c1d49c18db45ea9393903632b6e0db 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsitePreferenceBridge.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/website/WebsitePreferenceBridge.java
@@ -187,8 +187,8 @@ public abstract class WebsitePreferenceBridge {
return managedExceptions;
}
- public static void fetchLocalStorageInfo(Callback<HashMap> callback) {
- nativeFetchLocalStorageInfo(callback);
+ public static void fetchLocalStorageInfo(Callback<HashMap> callback, boolean fetchImportant) {
+ nativeFetchLocalStorageInfo(callback, fetchImportant);
}
public static void fetchStorageInfo(Callback<ArrayList> callback) {
@@ -281,7 +281,8 @@ public abstract class WebsitePreferenceBridge {
static native void nativeClearCookieData(String path);
static native void nativeClearLocalStorageData(String path);
static native void nativeClearStorageData(String origin, int type, Object callback);
- private static native void nativeFetchLocalStorageInfo(Object callback);
+ private static native void nativeFetchLocalStorageInfo(
+ Object callback, boolean includeImportant);
private static native void nativeFetchStorageInfo(Object callback);
static native boolean nativeIsContentSettingsPatternValid(String pattern);
static native boolean nativeUrlMatchesContentSettingsPattern(String url, String pattern);

Powered by Google App Engine
This is Rietveld 408576698