| Index: chrome/browser/dom_distiller/tab_utils_android.cc
|
| diff --git a/chrome/browser/dom_distiller/tab_utils_android.cc b/chrome/browser/dom_distiller/tab_utils_android.cc
|
| index d48bab9f2072ce26be581d06fec1749255aa9a22..df6a1ffecff5ddaf3ddc641d97d0a05436ee89e6 100644
|
| --- a/chrome/browser/dom_distiller/tab_utils_android.cc
|
| +++ b/chrome/browser/dom_distiller/tab_utils_android.cc
|
| @@ -68,6 +68,13 @@ jboolean IsDistillerHeuristicsEnabled(JNIEnv* env,
|
| != dom_distiller::DistillerHeuristicsType::NONE;
|
| }
|
|
|
| +// Returns true if distiller is reporting every page as distillable.
|
| +jboolean IsHeuristicAlwaysTrue(JNIEnv* env,
|
| + const JavaParamRef<jclass>& clazz) {
|
| + return dom_distiller::GetDistillerHeuristicsType()
|
| + == dom_distiller::DistillerHeuristicsType::ALWAYS_TRUE;
|
| +}
|
| +
|
| } // namespace android
|
|
|
| bool RegisterDomDistillerTabUtils(JNIEnv* env) {
|
|
|