Index: components/dom_distiller/ios/distiller_page_factory_ios.h |
diff --git a/components/dom_distiller/ios/distiller_page_factory_ios.h b/components/dom_distiller/ios/distiller_page_factory_ios.h |
index f3fb0e88bb04fd8eded06a273303f3d1c4efa54b..838b9c3376dc21ed80d97b47c27d666536b6b13a 100644 |
--- a/components/dom_distiller/ios/distiller_page_factory_ios.h |
+++ b/components/dom_distiller/ios/distiller_page_factory_ios.h |
@@ -11,16 +11,21 @@ |
namespace web { |
class BrowserState; |
+class WebState; |
} |
namespace dom_distiller { |
+class FaviconObserverFactory; |
+ |
// DistillerPageFactoryIOS is an iOS-specific implementation of the |
// DistillerPageFactory interface allowing the creation of DistillerPage |
// instances. |
class DistillerPageFactoryIOS : public DistillerPageFactory { |
public: |
- DistillerPageFactoryIOS(web::BrowserState* browser_state); |
+ DistillerPageFactoryIOS(web::BrowserState* browser_state, |
+ FaviconObserverFactory* favicon_factory); |
+ ~DistillerPageFactoryIOS() override; |
// Implementation of DistillerPageFactory: |
std::unique_ptr<DistillerPage> CreateDistillerPage( |
@@ -29,7 +34,7 @@ class DistillerPageFactoryIOS : public DistillerPageFactory { |
std::unique_ptr<SourcePageHandle> handle) const override; |
private: |
- web::BrowserState* browser_state_; |
+ std::unique_ptr<web::WebState> web_state_; |
}; |
} // namespace dom_distiller |