summaryrefslogtreecommitdiffstats
path: root/components/storage_monitor
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2015-01-13 09:57:57 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-13 17:58:52 +0000
commit9b9a41b134861abacf9b59113476cc4ccb000048 (patch)
tree3d7da3c462c58c7da6b048000a60dc32f8d2b3d2 /components/storage_monitor
parent4752162c54a5d5d36bbbb290e127a6b29c2a6e87 (diff)
downloadchromium_src-9b9a41b134861abacf9b59113476cc4ccb000048.zip
chromium_src-9b9a41b134861abacf9b59113476cc4ccb000048.tar.gz
chromium_src-9b9a41b134861abacf9b59113476cc4ccb000048.tar.bz2
Update {virtual,override,final} for components/ to follow C++11 style.
This patch was automatically generated using a variation of https://codereview.chromium.org/598073004 BUG=417463 Review URL: https://codereview.chromium.org/826213004 Cr-Commit-Position: refs/heads/master@{#311288}
Diffstat (limited to 'components/storage_monitor')
-rw-r--r--components/storage_monitor/image_capture_device_manager_unittest.mm8
-rw-r--r--components/storage_monitor/storage_monitor_mac_unittest.mm2
2 files changed, 3 insertions, 7 deletions
diff --git a/components/storage_monitor/image_capture_device_manager_unittest.mm b/components/storage_monitor/image_capture_device_manager_unittest.mm
index bd85af9..7a0c588 100644
--- a/components/storage_monitor/image_capture_device_manager_unittest.mm
+++ b/components/storage_monitor/image_capture_device_manager_unittest.mm
@@ -240,13 +240,9 @@ class TestCameraListener
class ImageCaptureDeviceManagerTest : public testing::Test {
public:
- virtual void SetUp() override {
- monitor_ = TestStorageMonitor::CreateAndInstall();
- }
+ void SetUp() override { monitor_ = TestStorageMonitor::CreateAndInstall(); }
- virtual void TearDown() override {
- TestStorageMonitor::Destroy();
- }
+ void TearDown() override { TestStorageMonitor::Destroy(); }
MockICCameraDevice* AttachDevice(ImageCaptureDeviceManager* manager) {
// Ownership will be passed to the device browser delegate.
diff --git a/components/storage_monitor/storage_monitor_mac_unittest.mm b/components/storage_monitor/storage_monitor_mac_unittest.mm
index 0111cd8..57ef88f 100644
--- a/components/storage_monitor/storage_monitor_mac_unittest.mm
+++ b/components/storage_monitor/storage_monitor_mac_unittest.mm
@@ -41,7 +41,7 @@ class StorageMonitorMacTest : public testing::Test {
public:
StorageMonitorMacTest() {}
- virtual void SetUp() override {
+ void SetUp() override {
monitor_.reset(new StorageMonitorMac);
mock_storage_observer_.reset(new MockRemovableStorageObserver);