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

Unified Diff: components/dom_distiller/core/fake_distiller.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
Index: components/dom_distiller/core/fake_distiller.cc
diff --git a/components/dom_distiller/core/fake_distiller.cc b/components/dom_distiller/core/fake_distiller.cc
index 3f1f976f653f3818ecace3fa45a1447548a025c3..43d63299c6a9d84af8a84c8bec7dca4935757e4a 100644
--- a/components/dom_distiller/core/fake_distiller.cc
+++ b/components/dom_distiller/core/fake_distiller.cc
@@ -21,7 +21,8 @@ FakeDistiller::FakeDistiller(bool execute_callback) :
FakeDistiller::~FakeDistiller() { Die(); }
-void FakeDistiller::RunDistillerCallback(scoped_ptr<DistilledPageProto> proto) {
+void FakeDistiller::RunDistillerCallback(
+ scoped_ptr<DistilledArticleProto> proto) {
base::MessageLoop::current()->PostTask(
FROM_HERE,
base::Bind(&FakeDistiller::RunDistillerCallbackInternal,
@@ -30,7 +31,7 @@ void FakeDistiller::RunDistillerCallback(scoped_ptr<DistilledPageProto> proto) {
}
void FakeDistiller::RunDistillerCallbackInternal(
- scoped_ptr<DistilledPageProto> proto) {
+ scoped_ptr<DistilledArticleProto> proto) {
EXPECT_FALSE(callback_.is_null());
callback_.Run(proto.Pass());
callback_.Reset();

Powered by Google App Engine
This is Rietveld 408576698