| 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 1f2250ec3192d372c1c11ac994903df83bd754d4..ecd228576a07b716af5d5acc0debfbf827b75f18 100644
|
| --- a/components/dom_distiller/ios/distiller_page_factory_ios.h
|
| +++ b/components/dom_distiller/ios/distiller_page_factory_ios.h
|
| @@ -9,17 +9,18 @@
|
|
|
| #include "components/dom_distiller/core/distiller_page.h"
|
|
|
| -namespace dom_distiller {
|
| +namespace web {
|
| +class BrowserState;
|
| +}
|
|
|
| -class FaviconWebStateDispatcher;
|
| +namespace dom_distiller {
|
|
|
| // DistillerPageFactoryIOS is an iOS-specific implementation of the
|
| // DistillerPageFactory interface allowing the creation of DistillerPage
|
| // instances.
|
| class DistillerPageFactoryIOS : public DistillerPageFactory {
|
| public:
|
| - explicit DistillerPageFactoryIOS(
|
| - std::unique_ptr<FaviconWebStateDispatcher> web_state_dispatcher);
|
| + explicit DistillerPageFactoryIOS(web::BrowserState* browser_state);
|
| ~DistillerPageFactoryIOS() override;
|
|
|
| // Implementation of DistillerPageFactory:
|
| @@ -29,8 +30,7 @@ class DistillerPageFactoryIOS : public DistillerPageFactory {
|
| std::unique_ptr<SourcePageHandle> handle) const override;
|
|
|
| private:
|
| - std::unique_ptr<FaviconWebStateDispatcher> web_state_dispatcher_;
|
| -
|
| + web::BrowserState* browser_state_;
|
| DISALLOW_COPY_AND_ASSIGN(DistillerPageFactoryIOS);
|
| };
|
|
|
|
|