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

Unified Diff: components/storage_monitor/storage_monitor_mac.h

Issue 666133002: Standardize usage of virtual/override/final in components/ (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 | « components/storage_monitor/storage_monitor.cc ('k') | components/storage_monitor/test_storage_monitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/storage_monitor/storage_monitor_mac.h
diff --git a/components/storage_monitor/storage_monitor_mac.h b/components/storage_monitor/storage_monitor_mac.h
index 60a76f41886380986e77709802721a686b8dc7c9..9379f5e734abc1f6d9650a5f5eb150022f8c0306 100644
--- a/components/storage_monitor/storage_monitor_mac.h
+++ b/components/storage_monitor/storage_monitor_mac.h
@@ -30,21 +30,19 @@ class StorageMonitorMac : public StorageMonitor,
// Should only be called by browser start up code. Use GetInstance() instead.
StorageMonitorMac();
- virtual ~StorageMonitorMac();
+ ~StorageMonitorMac() override;
- virtual void Init() override;
+ void Init() override;
void UpdateDisk(const std::string& bsd_name,
const StorageInfo& info,
UpdateType update_type);
- virtual bool GetStorageInfoForPath(
- const base::FilePath& path,
- StorageInfo* device_info) const override;
+ bool GetStorageInfoForPath(const base::FilePath& path,
+ StorageInfo* device_info) const override;
- virtual void EjectDevice(
- const std::string& device_id,
- base::Callback<void(EjectStatus)> callback) override;
+ void EjectDevice(const std::string& device_id,
+ base::Callback<void(EjectStatus)> callback) override;
private:
static void DiskAppearedCallback(DADiskRef disk, void* context);
« no previous file with comments | « components/storage_monitor/storage_monitor.cc ('k') | components/storage_monitor/test_storage_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698