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..75f8ee6b067fd18c86f9468e18658830cf5958ec 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,12 @@ public final class DomDistillerUrlUtils { |
return nativeIsUrlDistillable(url); |
} |
+ public static String getIsReadableJs() { |
Yaron
2014/08/12 18:55:05
Please rename "readable"->"distillable" throughout
smaslo
2014/08/12 20:42:23
Done.
|
+ return nativeGetIsReadableJs(); |
+ } |
+ |
private static native String nativeGetDistillerViewUrlFromUrl(String scheme, String url); |
+ private static native String nativeGetIsReadableJs(); |
private static native String nativeGetOriginalUrlFromDistillerUrl(String viewerUrl); |
private static native boolean nativeIsDistilledPage(String url); |
private static native boolean nativeIsUrlDistillable(String url); |