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

Side by Side Diff: components/storage_monitor/test_volume_mount_watcher_win.h

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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file contains a subclass of VolumeMountWatcherWin to expose some 5 // This file contains a subclass of VolumeMountWatcherWin to expose some
6 // functionality for testing. 6 // functionality for testing.
7 7
8 #ifndef COMPONENTS_STORAGE_MONITOR_TEST_VOLUME_MOUNT_WATCHER_WIN_H_ 8 #ifndef COMPONENTS_STORAGE_MONITOR_TEST_VOLUME_MOUNT_WATCHER_WIN_H_
9 #define COMPONENTS_STORAGE_MONITOR_TEST_VOLUME_MOUNT_WATCHER_WIN_H_ 9 #define COMPONENTS_STORAGE_MONITOR_TEST_VOLUME_MOUNT_WATCHER_WIN_H_
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 const std::vector<base::FilePath>& devices_checked() const { 43 const std::vector<base::FilePath>& devices_checked() const {
44 return devices_checked_; 44 return devices_checked_;
45 } 45 }
46 46
47 void BlockDeviceCheckForTesting(); 47 void BlockDeviceCheckForTesting();
48 48
49 void ReleaseDeviceCheck(); 49 void ReleaseDeviceCheck();
50 50
51 // VolumeMountWatcherWin: 51 // VolumeMountWatcherWin:
52 virtual GetAttachedDevicesCallbackType 52 virtual GetAttachedDevicesCallbackType
53 GetAttachedDevicesCallback() const OVERRIDE; 53 GetAttachedDevicesCallback() const override;
54 virtual GetDeviceDetailsCallbackType 54 virtual GetDeviceDetailsCallbackType
55 GetDeviceDetailsCallback() const OVERRIDE; 55 GetDeviceDetailsCallback() const override;
56 56
57 // Should be used by unit tests to make sure the worker pool doesn't survive 57 // Should be used by unit tests to make sure the worker pool doesn't survive
58 // into other test runs. 58 // into other test runs.
59 void ShutdownWorkerPool(); 59 void ShutdownWorkerPool();
60 60
61 private: 61 private:
62 std::vector<base::FilePath> devices_checked_; 62 std::vector<base::FilePath> devices_checked_;
63 scoped_ptr<base::WaitableEvent> device_check_complete_event_; 63 scoped_ptr<base::WaitableEvent> device_check_complete_event_;
64 bool attached_devices_fake_; 64 bool attached_devices_fake_;
65 65
66 DISALLOW_COPY_AND_ASSIGN(TestVolumeMountWatcherWin); 66 DISALLOW_COPY_AND_ASSIGN(TestVolumeMountWatcherWin);
67 }; 67 };
68 68
69 } // namespace storage_monitor 69 } // namespace storage_monitor
70 70
71 #endif // COMPONENTS_STORAGE_MONITOR_TEST_VOLUME_MOUNT_WATCHER_WIN_H_ 71 #endif // COMPONENTS_STORAGE_MONITOR_TEST_VOLUME_MOUNT_WATCHER_WIN_H_
OLDNEW
« no previous file with comments | « components/storage_monitor/test_storage_monitor_win.h ('k') | components/suggestions/blacklist_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698