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

Unified Diff: components/storage_monitor/storage_monitor_chromeos_unittest.cc

Issue 623133002: replace OVERRIDE and FINAL with override and 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
Index: components/storage_monitor/storage_monitor_chromeos_unittest.cc
diff --git a/components/storage_monitor/storage_monitor_chromeos_unittest.cc b/components/storage_monitor/storage_monitor_chromeos_unittest.cc
index 8e753843dc1ab7c5a11ab333b7aa4d1c2827bf59..e6838c13f7fb2b8d1bf33b643a469876a0eb0a67 100644
--- a/components/storage_monitor/storage_monitor_chromeos_unittest.cc
+++ b/components/storage_monitor/storage_monitor_chromeos_unittest.cc
@@ -61,7 +61,7 @@ class TestStorageMonitorCros : public StorageMonitorCros {
virtual ~TestStorageMonitorCros() {}
- virtual void Init() OVERRIDE {
+ virtual void Init() override {
SetMediaTransferProtocolManagerForTest(
new TestMediaTransferProtocolManagerLinux());
StorageMonitorCros::Init();
@@ -69,17 +69,17 @@ class TestStorageMonitorCros : public StorageMonitorCros {
virtual void OnMountEvent(DiskMountManager::MountEvent event,
chromeos::MountError error_code,
- const DiskMountManager::MountPointInfo& mount_info) OVERRIDE {
+ const DiskMountManager::MountPointInfo& mount_info) override {
StorageMonitorCros::OnMountEvent(event, error_code, mount_info);
}
virtual bool GetStorageInfoForPath(const base::FilePath& path,
- StorageInfo* device_info) const OVERRIDE {
+ StorageInfo* device_info) const override {
return StorageMonitorCros::GetStorageInfoForPath(path, device_info);
}
virtual void EjectDevice(
const std::string& device_id,
- base::Callback<void(EjectStatus)> callback) OVERRIDE {
+ base::Callback<void(EjectStatus)> callback) override {
StorageMonitorCros::EjectDevice(device_id, callback);
}
@@ -97,8 +97,8 @@ class StorageMonitorCrosTest : public testing::Test {
protected:
// testing::Test:
- virtual void SetUp() OVERRIDE;
- virtual void TearDown() OVERRIDE;
+ virtual void SetUp() override;
+ virtual void TearDown() override;
void MountDevice(chromeos::MountError error_code,
const DiskMountManager::MountPointInfo& mount_info,
« no previous file with comments | « components/storage_monitor/storage_monitor_chromeos.h ('k') | components/storage_monitor/storage_monitor_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698