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

Unified Diff: components/dom_distiller/core/dom_distiller_store.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_store.h
diff --git a/components/dom_distiller/core/dom_distiller_store.h b/components/dom_distiller/core/dom_distiller_store.h
index 563927b8bd82d360ede457c2fffc8d0b20afddd6..186c273351d4ed8ce430f36d9953d92b77045eb7 100644
--- a/components/dom_distiller/core/dom_distiller_store.h
+++ b/components/dom_distiller/core/dom_distiller_store.h
@@ -92,29 +92,28 @@ class DomDistillerStore : public syncer::SyncableService,
const std::vector<ArticleEntry>& initial_data,
const base::FilePath& database_dir);
- virtual ~DomDistillerStore();
+ ~DomDistillerStore() override;
// DomDistillerStoreInterface implementation.
- virtual syncer::SyncableService* GetSyncableService() override;
- virtual bool AddEntry(const ArticleEntry& entry) override;
- virtual bool UpdateEntry(const ArticleEntry& entry) override;
- virtual bool RemoveEntry(const ArticleEntry& entry) override;
- virtual bool GetEntryById(const std::string& entry_id,
- ArticleEntry* entry) override;
- virtual bool GetEntryByUrl(const GURL& url, ArticleEntry* entry) override;
- virtual std::vector<ArticleEntry> GetEntries() const override;
- virtual void AddObserver(DomDistillerObserver* observer) override;
- virtual void RemoveObserver(DomDistillerObserver* observer) override;
+ syncer::SyncableService* GetSyncableService() override;
+ bool AddEntry(const ArticleEntry& entry) override;
+ bool UpdateEntry(const ArticleEntry& entry) override;
+ bool RemoveEntry(const ArticleEntry& entry) override;
+ bool GetEntryById(const std::string& entry_id, ArticleEntry* entry) override;
+ bool GetEntryByUrl(const GURL& url, ArticleEntry* entry) override;
+ std::vector<ArticleEntry> GetEntries() const override;
+ void AddObserver(DomDistillerObserver* observer) override;
+ void RemoveObserver(DomDistillerObserver* observer) override;
// syncer::SyncableService implementation.
- virtual syncer::SyncMergeResult MergeDataAndStartSyncing(
- syncer::ModelType type, const syncer::SyncDataList& initial_sync_data,
+ syncer::SyncMergeResult MergeDataAndStartSyncing(
+ syncer::ModelType type,
+ const syncer::SyncDataList& initial_sync_data,
scoped_ptr<syncer::SyncChangeProcessor> sync_processor,
scoped_ptr<syncer::SyncErrorFactory> error_handler) override;
- virtual void StopSyncing(syncer::ModelType type) override;
- virtual syncer::SyncDataList GetAllSyncData(
- syncer::ModelType type) const override;
- virtual syncer::SyncError ProcessSyncChanges(
+ void StopSyncing(syncer::ModelType type) override;
+ syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const override;
+ syncer::SyncError ProcessSyncChanges(
const tracked_objects::Location& from_here,
const syncer::SyncChangeList& change_list) override;
« no previous file with comments | « components/dom_distiller/core/dom_distiller_service.h ('k') | components/dom_distiller/core/dom_distiller_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698