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

Unified Diff: components/dom_distiller/core/url_utils.h

Issue 464973002: JavaScript that returns whether or not a page is an article (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed names to distillable Created 6 years, 4 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/core/url_utils.h
diff --git a/components/dom_distiller/core/url_utils.h b/components/dom_distiller/core/url_utils.h
index 4dc73b39d88e82ef2661303b4b3e138c4662228e..6225cafe27d7a2b910eea6d170f9222b1fdb0f88 100644
--- a/components/dom_distiller/core/url_utils.h
+++ b/components/dom_distiller/core/url_utils.h
@@ -31,6 +31,9 @@ bool IsUrlDistillable(const GURL& url);
// Returns whether the given |url| is for a distilled page.
bool IsDistilledPage(const GURL& url);
+// Returns the JavaScript to tell whether or not a page is an article.
Yaron 2014/08/12 20:49:00 s/an article/is likely usable with DomDistillerSer
smaslo 2014/08/12 20:58:15 Done.
+std::string GetIsDistillableJs();
+
} // namespace url_utils
} // namespace dom_distiller

Powered by Google App Engine
This is Rietveld 408576698