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

Unified Diff: components/dom_distiller/core/task_tracker_unittest.cc

Issue 146843010: Add support for multipage distillation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/core/task_tracker.cc ('k') | third_party/readability/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/dom_distiller/core/task_tracker_unittest.cc
diff --git a/components/dom_distiller/core/task_tracker_unittest.cc b/components/dom_distiller/core/task_tracker_unittest.cc
index f659fc15586e815f84f4ab8312eaf84daa0cc246..c88becbd1e9368d561842a6da9b8eef17bc9734c 100644
--- a/components/dom_distiller/core/task_tracker_unittest.cc
+++ b/components/dom_distiller/core/task_tracker_unittest.cc
@@ -18,7 +18,8 @@ namespace test {
class FakeViewRequestDelegate : public ViewRequestDelegate {
public:
virtual ~FakeViewRequestDelegate() {}
- MOCK_METHOD1(OnArticleReady, void(DistilledPageProto* proto));
+ MOCK_METHOD1(OnArticleReady,
+ void(const DistilledArticleProto* article_proto));
};
class TestCancelCallback {
@@ -36,7 +37,8 @@ class TestCancelCallback {
class MockSaveCallback {
public:
- MOCK_METHOD3(Save, void(const ArticleEntry&, DistilledPageProto*, bool));
+ MOCK_METHOD3(Save,
+ void(const ArticleEntry&, const DistilledArticleProto*, bool));
};
class DomDistillerTaskTrackerTest : public testing::Test {
« no previous file with comments | « components/dom_distiller/core/task_tracker.cc ('k') | third_party/readability/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698