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

Unified Diff: components/dom_distiller/core/dom_distiller_service.h

Issue 666133002: Standardize usage of virtual/override/final in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: components/dom_distiller/core/dom_distiller_service.h
diff --git a/components/dom_distiller/core/dom_distiller_service.h b/components/dom_distiller/core/dom_distiller_service.h
index 182cfb3746d2c9836bfde1fc5d99383311c576ef..f227c73a41a324c6085f8703d67d58d0c624ed3c 100644
--- a/components/dom_distiller/core/dom_distiller_service.h
+++ b/components/dom_distiller/core/dom_distiller_service.h
@@ -118,34 +118,31 @@ class DomDistillerService : public DomDistillerServiceInterface {
scoped_ptr<DistillerFactory> distiller_factory,
scoped_ptr<DistillerPageFactory> distiller_page_factory,
scoped_ptr<DistilledPagePrefs> distilled_page_prefs);
- virtual ~DomDistillerService();
+ ~DomDistillerService() override;
// DomDistillerServiceInterface implementation.
- virtual syncer::SyncableService* GetSyncableService() const override;
- virtual const std::string AddToList(
+ syncer::SyncableService* GetSyncableService() const override;
+ const std::string AddToList(
const GURL& url,
scoped_ptr<DistillerPage> distiller_page,
const ArticleAvailableCallback& article_cb) override;
- virtual bool HasEntry(const std::string& entry_id) override;
- virtual std::string GetUrlForEntry(const std::string& entry_id) 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,
- 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(
+ bool HasEntry(const std::string& entry_id) override;
+ std::string GetUrlForEntry(const std::string& entry_id) override;
+ std::vector<ArticleEntry> GetEntries() const override;
+ scoped_ptr<ArticleEntry> RemoveEntry(const std::string& entry_id) override;
+ scoped_ptr<ViewerHandle> ViewEntry(ViewRequestDelegate* delegate,
+ scoped_ptr<DistillerPage> distiller_page,
+ const std::string& entry_id) override;
+ scoped_ptr<ViewerHandle> ViewUrl(ViewRequestDelegate* delegate,
+ scoped_ptr<DistillerPage> distiller_page,
+ const GURL& url) override;
+ scoped_ptr<DistillerPage> CreateDefaultDistillerPage(
const gfx::Size& render_view_size) override;
- virtual scoped_ptr<DistillerPage> CreateDefaultDistillerPageWithHandle(
+ scoped_ptr<DistillerPage> CreateDefaultDistillerPageWithHandle(
scoped_ptr<SourcePageHandle> handle) override;
- virtual void AddObserver(DomDistillerObserver* observer) override;
- virtual void RemoveObserver(DomDistillerObserver* observer) override;
- virtual DistilledPagePrefs* GetDistilledPagePrefs() override;
+ void AddObserver(DomDistillerObserver* observer) override;
+ void RemoveObserver(DomDistillerObserver* observer) override;
+ DistilledPagePrefs* GetDistilledPagePrefs() override;
private:
void CancelTask(TaskTracker* task);
« no previous file with comments | « components/dom_distiller/core/distiller_url_fetcher.h ('k') | components/dom_distiller/core/dom_distiller_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698