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

Unified Diff: net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc

Issue 2047163003: Manual refactor to enum-based WaitableEvent for remaining _win files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +sync_socket_win.cc 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
Index: net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc
diff --git a/net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc b/net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc
index 9cec7febbec670725d3d62a29b1c6716dbb331da..b7f352c482f05f7deec737cec55b066353ffc2d2 100644
--- a/net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc
+++ b/net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc
@@ -67,8 +67,9 @@ class MockDhcpProxyScriptAdapterFetcher
public:
explicit DelayingDhcpQuery()
: DhcpQuery(),
- test_finished_event_(true, false) {
- }
+ test_finished_event_(
+ base::WaitableEvent::ResetPolicy::MANUAL,
+ base::WaitableEvent::InitialState::NOT_SIGNALED) {}
std::string ImplGetPacURLFromDhcp(
const std::string& adapter_name) override {
« no previous file with comments | « components/policy/core/common/policy_loader_win.cc ('k') | net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698