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

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

Issue 901793002: Add support for providing an external file for extracting content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved injection to constructor Created 5 years, 9 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
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 11e4aae99894236c52e4c0d4e75492fd5602e21c..b7de46356181dc3e777aac085926f60f8d1f5a94 100644
--- a/components/dom_distiller/ios/distiller_page_ios.h
+++ b/components/dom_distiller/ios/distiller_page_ios.h
@@ -30,7 +30,8 @@ class DistillerWebStateObserver;
// content.
class DistillerPageIOS : public DistillerPage {
public:
- explicit DistillerPageIOS(web::BrowserState* browser_state);
+ DistillerPageIOS(web::BrowserState* browser_state,
+ const std::string& distiller_js_script);
~DistillerPageIOS() override;
private:

Powered by Google App Engine
This is Rietveld 408576698