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 848adaa4a2aaf5e8a07739fbe4d2df63ab2c3fd3..a3cbbda2474734f5f67a91be7d247d35cb565143 100644 |
--- a/components/dom_distiller/core/dom_distiller_service.cc |
+++ b/components/dom_distiller/core/dom_distiller_service.cc |
@@ -46,7 +46,8 @@ DomDistillerService::DomDistillerService( |
distiller_page_factory_(distiller_page_factory.Pass()) { |
} |
-DomDistillerService::~DomDistillerService() {} |
+DomDistillerService::~DomDistillerService() { |
+} |
syncer::SyncableService* DomDistillerService::GetSyncableService() const { |
return store_->GetSyncableService(); |
@@ -56,6 +57,13 @@ scoped_ptr<DistillerPage> DomDistillerService::CreateDefaultDistillerPage() { |
return distiller_page_factory_->CreateDistillerPage().Pass(); |
} |
+scoped_ptr<DistillerPage> |
+DomDistillerService::CreateDefaultDistillerPageWithHandle( |
+ scoped_ptr<SourcePageHandle> handle) { |
+ return distiller_page_factory_->CreateDistillerPageWithHandle(handle.Pass()) |
+ .Pass(); |
+} |
+ |
const std::string DomDistillerService::AddToList( |
const GURL& url, |
scoped_ptr<DistillerPage> distiller_page, |