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

Unified Diff: chrome/browser/history/history_backend.h

Issue 666673010: Standardize usage of virtual/override/final in chrome/browser/history (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/history/history_backend.h
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h
index 6a7a5dac5d27f5cde063ab6e7be42eccc9e79e5f..90cfb6d060735ad921d254a42dc094851a7f7354 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -517,7 +517,7 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
}
protected:
- virtual ~HistoryBackend();
+ ~HistoryBackend() override;
// Notify HistoryBackendObserver that |transition| to |row| occurred at
// |visit_time| following |redirects| (empty if there is no redirects).
@@ -795,13 +795,12 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
// to be invoked again if there are more tasks that need to run.
void ProcessDBTaskImpl();
- virtual void BroadcastNotifications(
- int type,
- scoped_ptr<HistoryDetails> details) override;
- virtual void NotifySyncURLsModified(URLRows* rows) override;
- virtual void NotifySyncURLsDeleted(bool all_history,
- bool expired,
- URLRows* rows) override;
+ void BroadcastNotifications(int type,
+ scoped_ptr<HistoryDetails> details) override;
+ void NotifySyncURLsModified(URLRows* rows) override;
+ void NotifySyncURLsDeleted(bool all_history,
+ bool expired,
+ URLRows* rows) override;
// Deleting all history ------------------------------------------------------
« no previous file with comments | « chrome/browser/history/expire_history_backend_unittest.cc ('k') | chrome/browser/history/history_backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698