Index: components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java |
diff --git a/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java b/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java |
index dc31b20d56f1105a3c4dab1e1b50a791e02f393c..d82402dd888449bba4b605162054398a3f224c30 100644 |
--- a/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java |
+++ b/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java |
@@ -49,7 +49,14 @@ public final class DomDistillerUrlUtils { |
return nativeIsUrlDistillable(url); |
} |
+ // TODO(yfriedman): Change method so that it takes in a WebContents and a |
+ // callback. |
+ public static String getIsDistillableJs() { |
+ return nativeGetIsDistillableJs(); |
+ } |
+ |
private static native String nativeGetDistillerViewUrlFromUrl(String scheme, String url); |
+ private static native String nativeGetIsDistillableJs(); |
private static native String nativeGetOriginalUrlFromDistillerUrl(String viewerUrl); |
private static native boolean nativeIsDistilledPage(String url); |
private static native boolean nativeIsUrlDistillable(String url); |