| 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..330a4d55d8c624080105b136596f6b8f868daaca 100644
|
| --- a/components/dom_distiller/content/browser/distillable_page_utils.h
|
| +++ b/components/dom_distiller/content/browser/distillable_page_utils.h
|
| @@ -12,22 +12,9 @@ namespace dom_distiller {
|
|
|
| class DistillablePageDetector;
|
|
|
| -// Checks if the page appears to be distillable based on whichever heuristics
|
| -// are configured to be used (see dom_distiller::GetDistillerHeuristicsType).
|
| -void IsDistillablePage(content::WebContents* web_contents,
|
| - bool is_mobile_optimized,
|
| - base::Callback<void(bool)> callback);
|
| -
|
| -// Checks if the web_contents is has opengraph type=article markup.
|
| -void IsOpenGraphArticle(content::WebContents* web_contents,
|
| - base::Callback<void(bool)> callback);
|
| -
|
| -// Uses the provided DistillablePageDetector to detect if the page is
|
| -// distillable. The passed detector must be alive until after the callback is
|
| -// called.
|
| -void IsDistillablePageForDetector(content::WebContents* web_contents,
|
| - const DistillablePageDetector* detector,
|
| - base::Callback<void(bool)> callback);
|
| +// Set the callback to receive the result of whether the page is distillable.
|
| +void setCallback(content::WebContents* web_contents,
|
| + base::Callback<void(bool, bool)> callback);
|
| }
|
|
|
| #endif // COMPONENTS_DOM_DISTILLER_CONTENT_BROWSER_DISTILLABLE_PAGE_UTILS_H_
|
|
|