Index: components/dom_distiller/ios/distiller_page_ios.h |
diff --git a/components/dom_distiller/ios/distiller_page_ios.h b/components/dom_distiller/ios/distiller_page_ios.h |
index 9c799852b91e05c62ddb66aca1555eecaadd07e4..7b24252f384ea453a5e9f075ca8664cacbc113ac 100644 |
--- a/components/dom_distiller/ios/distiller_page_ios.h |
+++ b/components/dom_distiller/ios/distiller_page_ios.h |
@@ -23,13 +23,15 @@ class BrowserState; |
namespace dom_distiller { |
+class DistillerFaviconIOS; |
class DistillerWebStateObserver; |
// Loads URLs and injects JavaScript into a page, extracting the distilled page |
// content. |
class DistillerPageIOS : public DistillerPage { |
public: |
- explicit DistillerPageIOS(web::BrowserState* browser_state); |
+ explicit DistillerPageIOS(web::BrowserState* browser_state, |
+ DistillerFaviconIOS* distiller_favicon); |
~DistillerPageIOS() override; |
protected: |
@@ -48,11 +50,12 @@ class DistillerPageIOS : public DistillerPage { |
// Converts result of WKWebView script evaluation to base::Value |
std::unique_ptr<base::Value> ValueResultFromScriptResult(id wk_result); |
- web::BrowserState* browser_state_; |
+ // web::BrowserState* browser_state_; |
GURL url_; |
std::string script_; |
std::unique_ptr<ios::WebControllerProvider> provider_; |
std::unique_ptr<DistillerWebStateObserver> web_state_observer_; |
+ DistillerFaviconIOS* distiller_favicon_; |
base::WeakPtrFactory<DistillerPageIOS> weak_ptr_factory_; |
}; |