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

Unified Diff: components/dom_distiller/core/fake_distiller_page.h

Issue 1004223002: Pass more information by argument to the dom_distiller script. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/javascript/JavaScript 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/core/fake_distiller_page.h
diff --git a/components/dom_distiller/core/fake_distiller_page.h b/components/dom_distiller/core/fake_distiller_page.h
index b1df4e87c6fa2760e7781e7565afe6d77fdabf98..a3511fad44899a6a153a73a6ca8c485d45d2e70f 100644
--- a/components/dom_distiller/core/fake_distiller_page.h
+++ b/components/dom_distiller/core/fake_distiller_page.h
@@ -30,6 +30,8 @@ class MockDistillerPage : public DistillerPage {
public:
MockDistillerPage();
virtual ~MockDistillerPage();
+ bool StringifyOutput() override { return false; };
+ bool CreateNewContext() override { return false; };
MOCK_METHOD2(DistillPageImpl,
void(const GURL& gurl, const std::string& script));
};
« no previous file with comments | « components/dom_distiller/core/distiller_page.cc ('k') | components/dom_distiller/core/javascript/domdistiller.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698