Index: components/dom_distiller/content/browser/distillable_page_utils.h |
diff --git a/components/dom_distiller/content/browser/distillable_page_utils.h b/components/dom_distiller/content/browser/distillable_page_utils.h |
index bcc6d4003cb90b49bdc9264ab367affb70be8b4e..dd3e00aba94acfc7ed08142306fcf24b18e7b857 100644 |
--- a/components/dom_distiller/content/browser/distillable_page_utils.h |
+++ b/components/dom_distiller/content/browser/distillable_page_utils.h |
@@ -28,6 +28,12 @@ void IsOpenGraphArticle(content::WebContents* web_contents, |
void IsDistillablePageForDetector(content::WebContents* web_contents, |
const DistillablePageDetector* detector, |
base::Callback<void(bool)> callback); |
+ |
+typedef base::Callback<void(bool, bool)> DistillabilityDelegate; |
+ |
+// Set the delegate to receive the result of whether the page is distillable. |
+void setDelegate(content::WebContents* web_contents, |
+ DistillabilityDelegate delegate); |
} |
#endif // COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DISTILLABLE_PAGE_UTILS_H_ |