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

Unified Diff: components/storage_monitor/test_volume_mount_watcher_win.cc

Issue 2039943005: clang-tidy WaitableEvent refactor (Windows side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/nacl/loader/nacl_listener.cc ('k') | extensions/browser/api/dns/mock_host_resolver_creator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/storage_monitor/test_volume_mount_watcher_win.cc
diff --git a/components/storage_monitor/test_volume_mount_watcher_win.cc b/components/storage_monitor/test_volume_mount_watcher_win.cc
index bc5f03e19481d70f8f281fc450b6072dea164426..c847ad2a586dd923e6fbca02df22e2571a9e21b5 100644
--- a/components/storage_monitor/test_volume_mount_watcher_win.cc
+++ b/components/storage_monitor/test_volume_mount_watcher_win.cc
@@ -122,7 +122,9 @@ void TestVolumeMountWatcherWin::DeviceCheckComplete(
}
void TestVolumeMountWatcherWin::BlockDeviceCheckForTesting() {
- device_check_complete_event_.reset(new base::WaitableEvent(false, false));
+ device_check_complete_event_.reset(
+ new base::WaitableEvent(base::WaitableEvent::ResetPolicy::AUTOMATIC,
+ base::WaitableEvent::InitialState::NOT_SIGNALED));
devices_checked_.clear();
}
« no previous file with comments | « components/nacl/loader/nacl_listener.cc ('k') | extensions/browser/api/dns/mock_host_resolver_creator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698