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

Unified Diff: chrome/browser/drive/drive_app_registry_unittest.cc

Issue 671513005: Standardize usage of virtual/override/final in chrome/browser/drive/ (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/drive/drive_api_service.h ('k') | chrome/browser/drive/drive_notification_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/drive/drive_app_registry_unittest.cc
diff --git a/chrome/browser/drive/drive_app_registry_unittest.cc b/chrome/browser/drive/drive_app_registry_unittest.cc
index cb1985a4b62f6abe44f451555649102fcab2c0de..71e8fbe82f352eb1375253fe076a72432c9330b0 100644
--- a/chrome/browser/drive/drive_app_registry_unittest.cc
+++ b/chrome/browser/drive/drive_app_registry_unittest.cc
@@ -25,15 +25,13 @@ class TestDriveAppRegistryObserver : public DriveAppRegistryObserver {
update_count_(0) {
registry_->AddObserver(this);
}
- virtual ~TestDriveAppRegistryObserver() {
- registry_->RemoveObserver(this);
- }
+ ~TestDriveAppRegistryObserver() override { registry_->RemoveObserver(this); }
int update_count() const { return update_count_; }
private:
// DriveAppRegistryObserver overrides:
- virtual void OnDriveAppRegistryUpdated() override { ++update_count_; }
+ void OnDriveAppRegistryUpdated() override { ++update_count_; }
DriveAppRegistry* registry_;
int update_count_;
« no previous file with comments | « chrome/browser/drive/drive_api_service.h ('k') | chrome/browser/drive/drive_notification_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698