Index: components/dom_distiller/core/url_utils.h |
diff --git a/components/dom_distiller/core/url_utils.h b/components/dom_distiller/core/url_utils.h |
index 4dc73b39d88e82ef2661303b4b3e138c4662228e..8446e87abd431144c12ec16bc0f27ff085f026cf 100644 |
--- a/components/dom_distiller/core/url_utils.h |
+++ b/components/dom_distiller/core/url_utils.h |
@@ -31,6 +31,10 @@ bool IsUrlDistillable(const GURL& url); |
// Returns whether the given |url| is for a distilled page. |
bool IsDistilledPage(const GURL& url); |
+// Returns a JavaScript snippet that returns whether or not a page should be |
+// used with DomDistillerService and can be executed in a live page. |
+std::string GetIsDistillableJs(); |
+ |
} // namespace url_utils |
} // namespace dom_distiller |