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

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

Issue 178303004: Add incremental updates for multipage distillation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile by adding a header. Created 6 years, 10 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/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 c88becbd1e9368d561842a6da9b8eef17bc9734c..c6eef4be519782dfc74428bac361d5c1e2a83e75 100644
--- a/components/dom_distiller/core/task_tracker_unittest.cc
+++ b/components/dom_distiller/core/task_tracker_unittest.cc
@@ -5,6 +5,7 @@
#include "components/dom_distiller/core/task_tracker.h"
#include "base/run_loop.h"
+#include "components/dom_distiller/core/article_distillation_update.h"
#include "components/dom_distiller/core/article_entry.h"
#include "components/dom_distiller/core/fake_distiller.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -20,6 +21,8 @@ class FakeViewRequestDelegate : public ViewRequestDelegate {
virtual ~FakeViewRequestDelegate() {}
MOCK_METHOD1(OnArticleReady,
void(const DistilledArticleProto* article_proto));
+ MOCK_METHOD1(OnArticleUpdated,
+ void(ArticleDistillationUpdate article_update));
};
class TestCancelCallback {
« components/dom_distiller/core/task_tracker.h ('K') | « components/dom_distiller/core/task_tracker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698