| Index: components/dom_distiller/core/dom_distiller_service.cc
|
| diff --git a/components/dom_distiller/core/dom_distiller_service.cc b/components/dom_distiller/core/dom_distiller_service.cc
|
| index fd1405d02a3ff69de93b65fdaf50f1499b19bb10..311d6e1dde4953c12316dde8a9c913966c432b27 100644
|
| --- a/components/dom_distiller/core/dom_distiller_service.cc
|
| +++ b/components/dom_distiller/core/dom_distiller_service.cc
|
| @@ -39,11 +39,13 @@ void RunArticleAvailableCallback(
|
| DomDistillerService::DomDistillerService(
|
| scoped_ptr<DomDistillerStoreInterface> store,
|
| scoped_ptr<DistillerFactory> distiller_factory,
|
| - scoped_ptr<DistillerPageFactory> distiller_page_factory)
|
| + scoped_ptr<DistillerPageFactory> distiller_page_factory,
|
| + scoped_ptr<DistilledPagePrefs> distilled_page_prefs)
|
| : store_(store.Pass()),
|
| content_store_(new InMemoryContentStore(kDefaultMaxNumCachedEntries)),
|
| distiller_factory_(distiller_factory.Pass()),
|
| - distiller_page_factory_(distiller_page_factory.Pass()) {
|
| + distiller_page_factory_(distiller_page_factory.Pass()),
|
| + distilled_page_prefs_(distilled_page_prefs.Pass()) {
|
| }
|
|
|
| DomDistillerService::~DomDistillerService() {
|
| @@ -239,4 +241,8 @@ void DomDistillerService::RemoveObserver(DomDistillerObserver* observer) {
|
| store_->RemoveObserver(observer);
|
| }
|
|
|
| +DistilledPagePrefs* DomDistillerService::GetDistilledPagePrefs() {
|
| + return distilled_page_prefs_.get();
|
| +}
|
| +
|
| } // namespace dom_distiller
|
|
|