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

Unified Diff: components/storage_monitor/storage_monitor_chromeos_unittest.cc

Issue 865973003: Update {virtual,override,final} to follow C++11 style in components, round 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix format Created 5 years, 11 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_chromeos.h ('k') | components/timers/rtc_alarm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e6838c13f7fb2b8d1bf33b643a469876a0eb0a67..72111be8067d3f3e41bb5410c465b03b33fb82a9 100644
--- a/components/storage_monitor/storage_monitor_chromeos_unittest.cc
+++ b/components/storage_monitor/storage_monitor_chromeos_unittest.cc
@@ -59,27 +59,27 @@ class TestStorageMonitorCros : public StorageMonitorCros {
public:
TestStorageMonitorCros() {}
- virtual ~TestStorageMonitorCros() {}
+ ~TestStorageMonitorCros() override {}
- virtual void Init() override {
+ void Init() override {
SetMediaTransferProtocolManagerForTest(
new TestMediaTransferProtocolManagerLinux());
StorageMonitorCros::Init();
}
- virtual void OnMountEvent(DiskMountManager::MountEvent event,
+ void OnMountEvent(
+ DiskMountManager::MountEvent event,
chromeos::MountError error_code,
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 {
+ bool GetStorageInfoForPath(const base::FilePath& path,
+ 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 {
+ void EjectDevice(const std::string& device_id,
+ base::Callback<void(EjectStatus)> callback) override {
StorageMonitorCros::EjectDevice(device_id, callback);
}
@@ -91,14 +91,14 @@ class TestStorageMonitorCros : public StorageMonitorCros {
class StorageMonitorCrosTest : public testing::Test {
public:
StorageMonitorCrosTest();
- virtual ~StorageMonitorCrosTest();
+ ~StorageMonitorCrosTest() override;
void EjectNotify(StorageMonitor::EjectStatus status);
protected:
// testing::Test:
- virtual void SetUp() override;
- virtual void TearDown() override;
+ void SetUp() override;
+ 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/timers/rtc_alarm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698