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

Unified Diff: components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java

Issue 208263010: Fix a problem that FeedbackReportingView is stacked infinitely whenever navigating to chrome-distil… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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: 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 598e299de89a19d860c27f6c72cdb2f0b5c9aa39..48f92eaad4ff904446d904fe6cd729b88c93fb57 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
@@ -26,5 +26,11 @@ public final class DomDistillerUrlUtils {
return nativeGetDistillerViewUrlFromUrl(scheme, url);
}
+ public static boolean isUrlReportable(String scheme, String url) {
+ return nativeIsUrlReportable(scheme, url);
+ }
+
private static native String nativeGetDistillerViewUrlFromUrl(String scheme, String url);
+
+ private static native boolean nativeIsUrlReportable(String scheme, String url);
}
« no previous file with comments | « chrome/browser/android/dom_distiller/feedback_reporter_android.cc ('k') | components/dom_distiller/core/url_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698