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

Unified Diff: chrome/browser/history/top_sites_impl_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/top_sites_impl.h ('k') | chrome/browser/history/typed_url_syncable_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/top_sites_impl_unittest.cc
diff --git a/chrome/browser/history/top_sites_impl_unittest.cc b/chrome/browser/history/top_sites_impl_unittest.cc
index 59e0c6ac2267be1c7aa7b5ab8ab8d4ad1385c8be..6514019449426536a42f0f3011a398a0bb31d6ff 100644
--- a/chrome/browser/history/top_sites_impl_unittest.cc
+++ b/chrome/browser/history/top_sites_impl_unittest.cc
@@ -34,8 +34,8 @@ class TestTopSitesObserver : public history::TopSitesObserver {
explicit TestTopSitesObserver(Profile* profile, history::TopSites* top_sites);
virtual ~TestTopSitesObserver();
// TopSitesObserver:
- virtual void TopSitesLoaded(history::TopSites* top_sites) override;
- virtual void TopSitesChanged(history::TopSites* top_sites) override;
+ void TopSitesLoaded(history::TopSites* top_sites) override;
+ void TopSitesChanged(history::TopSites* top_sites) override;
private:
Profile* profile_;
@@ -76,17 +76,14 @@ class WaitForHistoryTask : public HistoryDBTask {
public:
WaitForHistoryTask() {}
- virtual bool RunOnDBThread(HistoryBackend* backend,
- HistoryDatabase* db) override {
+ bool RunOnDBThread(HistoryBackend* backend, HistoryDatabase* db) override {
return true;
}
- virtual void DoneRunOnMainThread() override {
- base::MessageLoop::current()->Quit();
- }
+ void DoneRunOnMainThread() override { base::MessageLoop::current()->Quit(); }
private:
- virtual ~WaitForHistoryTask() {}
+ ~WaitForHistoryTask() override {}
DISALLOW_COPY_AND_ASSIGN(WaitForHistoryTask);
};
« no previous file with comments | « chrome/browser/history/top_sites_impl.h ('k') | chrome/browser/history/typed_url_syncable_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698