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

Unified Diff: components/storage_monitor/media_transfer_protocol_device_observer_linux.h

Issue 684513002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
Index: components/storage_monitor/media_transfer_protocol_device_observer_linux.h
diff --git a/components/storage_monitor/media_transfer_protocol_device_observer_linux.h b/components/storage_monitor/media_transfer_protocol_device_observer_linux.h
index 3b9d122764dc5940ab9e16f8508f1ae8027356af..50467adf3ad1f7a7e84916f044ee4e6bc37a9201 100644
--- a/components/storage_monitor/media_transfer_protocol_device_observer_linux.h
+++ b/components/storage_monitor/media_transfer_protocol_device_observer_linux.h
@@ -37,7 +37,7 @@ class MediaTransferProtocolDeviceObserverLinux
MediaTransferProtocolDeviceObserverLinux(
StorageMonitor::Receiver* receiver,
device::MediaTransferProtocolManager* mtp_manager);
- virtual ~MediaTransferProtocolDeviceObserverLinux();
+ ~MediaTransferProtocolDeviceObserverLinux() override;
// Finds the storage that contains |path| and populates |storage_info|.
// Returns false if unable to find the storage.
@@ -56,8 +56,8 @@ class MediaTransferProtocolDeviceObserverLinux
// device::MediaTransferProtocolManager::Observer implementation.
// Exposed for unit tests.
- virtual void StorageChanged(bool is_attached,
- const std::string& storage_name) override;
+ void StorageChanged(bool is_attached,
+ const std::string& storage_name) override;
private:
// Mapping of storage location and mtp storage info object.

Powered by Google App Engine
This is Rietveld 408576698