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

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

Issue 254483003: Start requiring DistillerPage for calls to DomDistillerService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Indent fixes (full git cl format) Created 6 years, 8 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.h
diff --git a/chrome/browser/dom_distiller/lazy_dom_distiller_service.h b/chrome/browser/dom_distiller/lazy_dom_distiller_service.h
index 30b44627e0362f7ab14ca6740f2fa7c38f99f6be..6fcab7c8d869cb19a54e366b5bed9273c94c939a 100644
--- a/chrome/browser/dom_distiller/lazy_dom_distiller_service.h
+++ b/chrome/browser/dom_distiller/lazy_dom_distiller_service.h
@@ -36,15 +36,20 @@ class LazyDomDistillerService : public DomDistillerServiceInterface,
virtual syncer::SyncableService* GetSyncableService() const OVERRIDE;
virtual const std::string AddToList(
const GURL& url,
+ scoped_ptr<DistillerPage> distiller_page,
const ArticleAvailableCallback& article_cb) OVERRIDE;
virtual std::vector<ArticleEntry> GetEntries() const OVERRIDE;
- virtual scoped_ptr<ArticleEntry> RemoveEntry(const std::string& entry_id)
- OVERRIDE;
- virtual scoped_ptr<ViewerHandle> ViewEntry(ViewRequestDelegate* delegate,
- const std::string& entry_id)
- OVERRIDE;
- virtual scoped_ptr<ViewerHandle> ViewUrl(ViewRequestDelegate* delegate,
- const GURL& url) OVERRIDE;
+ virtual scoped_ptr<ArticleEntry> RemoveEntry(
+ const std::string& entry_id) OVERRIDE;
+ virtual scoped_ptr<ViewerHandle> ViewEntry(
+ ViewRequestDelegate* delegate,
+ scoped_ptr<DistillerPage> distiller_page,
+ const std::string& entry_id) OVERRIDE;
+ virtual scoped_ptr<ViewerHandle> ViewUrl(
+ ViewRequestDelegate* delegate,
+ scoped_ptr<DistillerPage> distiller_page,
+ const GURL& url) OVERRIDE;
+ virtual scoped_ptr<DistillerPage> CreateDefaultDistillerPage() OVERRIDE;
virtual void AddObserver(DomDistillerObserver* observer) OVERRIDE;
virtual void RemoveObserver(DomDistillerObserver* observer) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698