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

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

Issue 648653003: Standardize usage of virtual/override/final in chrome/browser/ (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: 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 976689d33f0833f68ddee35dae8bcbb17030f5a2..8f7522fd7d4dafc0dde0d48876378a171b0903ca 100644
--- a/chrome/browser/dom_distiller/lazy_dom_distiller_service.h
+++ b/chrome/browser/dom_distiller/lazy_dom_distiller_service.h
@@ -29,44 +29,41 @@ class LazyDomDistillerService : public DomDistillerServiceInterface,
public:
LazyDomDistillerService(Profile* profile,
const DomDistillerServiceFactory* service_factory);
- virtual ~LazyDomDistillerService();
+ ~LazyDomDistillerService() override;
public:
// 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:
// Accessor method for the backing service instance.
DomDistillerServiceInterface* instance() const;
// content::NotificationObserver implementation:
- virtual void Observe(int type,
- const content::NotificationSource& source,
- const content::NotificationDetails& details) override;
+ void Observe(int type,
+ const content::NotificationSource& source,
+ const content::NotificationDetails& details) override;
// The Profile to use when retrieving the DomDistillerService and also the
// profile to listen for destruction of.
« no previous file with comments | « chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc ('k') | chrome/browser/dom_distiller/tab_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698