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

Unified Diff: chrome/browser/history/expire_history_backend.cc

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/expire_history_backend.cc
diff --git a/chrome/browser/history/expire_history_backend.cc b/chrome/browser/history/expire_history_backend.cc
index b4791d9293a8b91ba7f95892ad74d222b4ef62fa..a7c952890eca2e6ca5aaea87d35fa63229c561fd 100644
--- a/chrome/browser/history/expire_history_backend.cc
+++ b/chrome/browser/history/expire_history_backend.cc
@@ -44,10 +44,10 @@ const int kEarlyExpirationAdvanceDays = 3;
// time. This is the most general reader.
class AllVisitsReader : public ExpiringVisitsReader {
public:
- virtual bool Read(base::Time end_time,
- HistoryDatabase* db,
- VisitVector* visits,
- int max_visits) const override {
+ bool Read(base::Time end_time,
+ HistoryDatabase* db,
+ VisitVector* visits,
+ int max_visits) const override {
DCHECK(db) << "must have a database to operate upon";
DCHECK(visits) << "visit vector has to exist in order to populate it";
@@ -66,10 +66,10 @@ class AllVisitsReader : public ExpiringVisitsReader {
// but not past the current time.
class AutoSubframeVisitsReader : public ExpiringVisitsReader {
public:
- virtual bool Read(base::Time end_time,
- HistoryDatabase* db,
- VisitVector* visits,
- int max_visits) const override {
+ bool Read(base::Time end_time,
+ HistoryDatabase* db,
+ VisitVector* visits,
+ int max_visits) const override {
DCHECK(db) << "must have a database to operate upon";
DCHECK(visits) << "visit vector has to exist in order to populate it";
« no previous file with comments | « chrome/browser/history/delete_directive_handler.cc ('k') | chrome/browser/history/expire_history_backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698