diff options
Diffstat (limited to 'chromeos/disks/disk_mount_manager_unittest.cc')
-rw-r--r-- | chromeos/disks/disk_mount_manager_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromeos/disks/disk_mount_manager_unittest.cc b/chromeos/disks/disk_mount_manager_unittest.cc index 674ee7a..becb950 100644 --- a/chromeos/disks/disk_mount_manager_unittest.cc +++ b/chromeos/disks/disk_mount_manager_unittest.cc @@ -116,12 +116,12 @@ class MockDiskMountManagerObserver : public DiskMountManager::Observer { class DiskMountManagerTest : public testing::Test { public: DiskMountManagerTest() {} - virtual ~DiskMountManagerTest() {} + ~DiskMountManagerTest() override {} // Sets up test dbus tread manager and disks mount manager. // Initializes disk mount manager disks and mount points. // Adds a test observer to the disk mount manager. - virtual void SetUp() { + void SetUp() override { fake_cros_disks_client_ = new FakeCrosDisksClient; DBusThreadManager::GetSetterForTesting()->SetCrosDisksClient( scoped_ptr<CrosDisksClient>(fake_cros_disks_client_)); @@ -134,7 +134,7 @@ class DiskMountManagerTest : public testing::Test { } // Shuts down dbus thread manager and disk moutn manager used in the test. - virtual void TearDown() { + void TearDown() override { DiskMountManager::GetInstance()->RemoveObserver(&observer_); DiskMountManager::Shutdown(); DBusThreadManager::Shutdown(); |