| Index: components/dom_distiller/core/distiller.h
|
| diff --git a/components/dom_distiller/core/distiller.h b/components/dom_distiller/core/distiller.h
|
| index 8196757d959a029d7b9d70802724adf58e41de77..706899a76e56bb38a602b6aa413f0f2272998eab 100644
|
| --- a/components/dom_distiller/core/distiller.h
|
| +++ b/components/dom_distiller/core/distiller.h
|
| @@ -41,6 +41,7 @@ class Distiller {
|
| // a distilled page is added and |finished_cb| will be invoked once
|
| // distillation is completed.
|
| virtual void DistillPage(const GURL& url,
|
| + scoped_ptr<DistillerPage> distiller_page,
|
| const DistillationFinishedCallback& finished_cb,
|
| const DistillationUpdateCallback& update_cb) = 0;
|
| };
|
| @@ -55,13 +56,11 @@ class DistillerFactory {
|
| class DistillerFactoryImpl : public DistillerFactory {
|
| public:
|
| DistillerFactoryImpl(
|
| - scoped_ptr<DistillerPageFactory> distiller_page_factory,
|
| scoped_ptr<DistillerURLFetcherFactory> distiller_url_fetcher_factory);
|
| virtual ~DistillerFactoryImpl();
|
| virtual scoped_ptr<Distiller> CreateDistiller() OVERRIDE;
|
|
|
| private:
|
| - scoped_ptr<DistillerPageFactory> distiller_page_factory_;
|
| scoped_ptr<DistillerURLFetcherFactory> distiller_url_fetcher_factory_;
|
| };
|
|
|
| @@ -69,11 +68,11 @@ class DistillerFactoryImpl : public DistillerFactory {
|
| class DistillerImpl : public Distiller {
|
| public:
|
| DistillerImpl(
|
| - const DistillerPageFactory& distiller_page_factory,
|
| const DistillerURLFetcherFactory& distiller_url_fetcher_factory);
|
| virtual ~DistillerImpl();
|
|
|
| virtual void DistillPage(const GURL& url,
|
| + scoped_ptr<DistillerPage> distiller_page,
|
| const DistillationFinishedCallback& finished_cb,
|
| const DistillationUpdateCallback& update_cb)
|
| OVERRIDE;
|
|
|