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

Unified Diff: chrome/browser/dom_distiller/lazy_dom_distiller_service.cc

Issue 442503002: Retrieve article original URL from entryID (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: string reference Created 6 years, 4 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: chrome/browser/dom_distiller/lazy_dom_distiller_service.cc
diff --git a/chrome/browser/dom_distiller/lazy_dom_distiller_service.cc b/chrome/browser/dom_distiller/lazy_dom_distiller_service.cc
index 4a92e4bcd5d767fda45c840a5f57834f02b74fce..8c90afeb7dbb03e10eca6fe5c0aef921dee01813 100644
--- a/chrome/browser/dom_distiller/lazy_dom_distiller_service.cc
+++ b/chrome/browser/dom_distiller/lazy_dom_distiller_service.cc
@@ -45,6 +45,15 @@ syncer::SyncableService* LazyDomDistillerService::GetSyncableService() const {
return instance()->GetSyncableService();
}
+bool LazyDomDistillerService::HasEntry(const std::string& entry_id) {
+ return instance()->HasEntry(entry_id);
+}
+
+std::string LazyDomDistillerService::GetUrlForEntry(
+ const std::string& entry_id) {
+ return instance()->GetUrlForEntry(entry_id);
+}
+
const std::string LazyDomDistillerService::AddToList(
const GURL& url,
scoped_ptr<DistillerPage> distiller_page,

Powered by Google App Engine
This is Rietveld 408576698