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

Unified Diff: chrome/browser/history/expire_history_backend_unittest.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
« no previous file with comments | « chrome/browser/history/expire_history_backend.cc ('k') | chrome/browser/history/history_backend.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/expire_history_backend_unittest.cc
diff --git a/chrome/browser/history/expire_history_backend_unittest.cc b/chrome/browser/history/expire_history_backend_unittest.cc
index 2de4b391ecd4447e82d98f0ccbb12cfb9f492134..e7439cb6b66be107cf5462c987c68b4d6708c7d5 100644
--- a/chrome/browser/history/expire_history_backend_unittest.cc
+++ b/chrome/browser/history/expire_history_backend_unittest.cc
@@ -148,17 +148,16 @@ class ExpireHistoryTest : public testing::Test,
}
// BroadcastNotificationDelegate:
- virtual void BroadcastNotifications(
- int type,
- scoped_ptr<HistoryDetails> details) override {
+ void BroadcastNotifications(int type,
+ scoped_ptr<HistoryDetails> details) override {
// This gets called when there are notifications to broadcast. Instead, we
// store them so we can tell that the correct notifications were sent.
notifications_.push_back(std::make_pair(type, details.release()));
}
- virtual void NotifySyncURLsModified(URLRows* rows) override {}
- virtual void NotifySyncURLsDeleted(bool all_history,
- bool expired,
- URLRows* rows) override {}
+ void NotifySyncURLsModified(URLRows* rows) override {}
+ void NotifySyncURLsDeleted(bool all_history,
+ bool expired,
+ URLRows* rows) override {}
};
// The example data consists of 4 visits. The middle two visits are to the
« no previous file with comments | « chrome/browser/history/expire_history_backend.cc ('k') | chrome/browser/history/history_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698