Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: components/dom_distiller/ios/distiller_page_factory_ios.h

Issue 2604773002: Create distiller files for Reading List. (Closed)
Patch Set: feedback Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/dom_distiller/ios/BUILD.gn ('k') | components/dom_distiller/ios/distiller_page_factory_ios.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « components/dom_distiller/ios/BUILD.gn ('k') | components/dom_distiller/ios/distiller_page_factory_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698