| Index: components/dom_distiller/content/browser/distillability_driver.h
|
| diff --git a/components/dom_distiller/content/browser/distillability_driver.h b/components/dom_distiller/content/browser/distillability_driver.h
|
| index 87a532daa244f76129be5f62dbc76bdcdccded1e..e538ed753dd495386d189d1e9f655c2393d6715f 100644
|
| --- a/components/dom_distiller/content/browser/distillability_driver.h
|
| +++ b/components/dom_distiller/content/browser/distillability_driver.h
|
| @@ -26,19 +26,20 @@ class DistillabilityDriver
|
| void SetDelegate(const base::Callback<void(bool, bool)>& delegate);
|
|
|
| // content::WebContentsObserver implementation.
|
| - void RenderProcessGone(base::TerminationStatus status) override;
|
| + void DidStartProvisionalLoadForFrame(
|
| + content::RenderFrameHost* render_frame_host,
|
| + const GURL& validated_url,
|
| + bool is_error_page,
|
| + bool is_iframe_srcdoc) override;
|
|
|
| private:
|
| explicit DistillabilityDriver(content::WebContents* web_contents);
|
| friend class content::WebContentsUserData<DistillabilityDriver>;
|
| friend class DistillabilityServiceImpl;
|
|
|
| + void SetupMojoService();
|
| void OnDistillability(bool distillable, bool is_last);
|
|
|
| - // Removes the observer, clears the WebContents member, and removed mojo
|
| - // service from registry.
|
| - void CleanUp();
|
| -
|
| base::Callback<void(bool, bool)> m_delegate_;
|
|
|
| base::WeakPtrFactory<DistillabilityDriver> weak_factory_;
|
|
|