Chromium Code Reviews| 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..6f560febc2693e49ead8e3f9fe29a5d827fa3628 100644 |
| --- a/components/dom_distiller/ios/distiller_page_factory_ios.h |
| +++ b/components/dom_distiller/ios/distiller_page_factory_ios.h |
| @@ -9,18 +9,18 @@ |
| #include "components/dom_distiller/core/distiller_page.h" |
| -namespace web { |
| -class BrowserState; |
| -} |
| - |
| namespace dom_distiller { |
| +class FaviconWebStateDispatcher; |
| + |
| // 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( |
|
Eugene But (OOO till 7-30)
2016/12/19 17:30:06
explicit
gambard
2016/12/20 08:54:22
Done.
|
| + std::unique_ptr<FaviconWebStateDispatcher> web_state_dispatcher); |
| + ~DistillerPageFactoryIOS() override; |
| // Implementation of DistillerPageFactory: |
| std::unique_ptr<DistillerPage> CreateDistillerPage( |
| @@ -29,7 +29,9 @@ class DistillerPageFactoryIOS : public DistillerPageFactory { |
| std::unique_ptr<SourcePageHandle> handle) const override; |
| private: |
| - web::BrowserState* browser_state_; |
| + std::unique_ptr<FaviconWebStateDispatcher> web_state_dispatcher_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(DistillerPageFactoryIOS); |
| }; |
| } // namespace dom_distiller |