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

Unified Diff: components/storage_monitor/test_storage_monitor.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_mac.h ('k') | components/suggestions/image_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/storage_monitor/test_storage_monitor.h
diff --git a/components/storage_monitor/test_storage_monitor.h b/components/storage_monitor/test_storage_monitor.h
index 202156d0222182ff278893dc5bac6abbcf40ec74..a42949f3263a8f0a658bd21185d2ec3b72711095 100644
--- a/components/storage_monitor/test_storage_monitor.h
+++ b/components/storage_monitor/test_storage_monitor.h
@@ -14,9 +14,9 @@ namespace storage_monitor {
class TestStorageMonitor : public StorageMonitor {
public:
TestStorageMonitor();
- virtual ~TestStorageMonitor();
+ ~TestStorageMonitor() override;
- virtual void Init() override;
+ void Init() override;
void MarkInitialized();
@@ -34,9 +34,8 @@ class TestStorageMonitor : public StorageMonitor {
// Synchronously initialize the current storage monitor.
static void SyncInitialize();
- virtual bool GetStorageInfoForPath(
- const base::FilePath& path,
- StorageInfo* device_info) const override;
+ bool GetStorageInfoForPath(const base::FilePath& path,
+ StorageInfo* device_info) const override;
#if defined(OS_WIN)
virtual bool GetMTPStorageInfoFromDeviceId(
@@ -50,12 +49,11 @@ class TestStorageMonitor : public StorageMonitor {
media_transfer_protocol_manager() override;
#endif
- virtual Receiver* receiver() const override;
+ Receiver* receiver() const override;
- virtual void EjectDevice(
+ void EjectDevice(
const std::string& device_id,
- base::Callback<void(StorageMonitor::EjectStatus)> callback)
- override;
+ base::Callback<void(StorageMonitor::EjectStatus)> callback) override;
const std::string& ejected_device() const { return ejected_device_; }
« no previous file with comments | « components/storage_monitor/storage_monitor_mac.h ('k') | components/suggestions/image_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698