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

Unified Diff: components/dom_distiller/core/distilled_content_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/distilled_content_store.h
diff --git a/components/dom_distiller/core/distilled_content_store.h b/components/dom_distiller/core/distilled_content_store.h
index 4312b0153eb7bcc3f7480248eea1597f3071af95..0063dd37166eb4b993277aaafaa0861c12f05d13 100644
--- a/components/dom_distiller/core/distilled_content_store.h
+++ b/components/dom_distiller/core/distilled_content_store.h
@@ -45,14 +45,13 @@ class DistilledContentStore {
class InMemoryContentStore : public DistilledContentStore {
public:
explicit InMemoryContentStore(const int max_num_entries);
- virtual ~InMemoryContentStore();
+ ~InMemoryContentStore() override;
// DistilledContentStore implementation
- virtual void SaveContent(const ArticleEntry& entry,
- const DistilledArticleProto& proto,
- SaveCallback callback) override;
- virtual void LoadContent(const ArticleEntry& entry,
- LoadCallback callback) override;
+ void SaveContent(const ArticleEntry& entry,
+ const DistilledArticleProto& proto,
+ SaveCallback callback) override;
+ void LoadContent(const ArticleEntry& entry, LoadCallback callback) override;
// Synchronously saves the content.
void InjectContent(const ArticleEntry& entry,

Powered by Google App Engine
This is Rietveld 408576698