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

Unified Diff: remoting/host/win/host_service.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 | « mojo/public/cpp/bindings/tests/bind_task_runner_unittest.cc ('k') | ui/views/mus/views_mus_test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/host_service.cc
diff --git a/remoting/host/win/host_service.cc b/remoting/host/win/host_service.cc
index 37fb9c64016c06fe48d3c4592a8b7a2a299059f8..3c1f019c6120bc57f4232eff2597ddc33fdefefa 100644
--- a/remoting/host/win/host_service.cc
+++ b/remoting/host/win/host_service.cc
@@ -135,12 +135,12 @@ void HostService::RemoveWtsTerminalObserver(WtsTerminalObserver* observer) {
}
}
-HostService::HostService() :
- run_routine_(&HostService::RunAsService),
- service_status_handle_(0),
- stopped_event_(true, false),
- weak_factory_(this) {
-}
+HostService::HostService()
+ : run_routine_(&HostService::RunAsService),
+ service_status_handle_(0),
+ stopped_event_(base::WaitableEvent::ResetPolicy::MANUAL,
+ base::WaitableEvent::InitialState::NOT_SIGNALED),
+ weak_factory_(this) {}
HostService::~HostService() {
}
« no previous file with comments | « mojo/public/cpp/bindings/tests/bind_task_runner_unittest.cc ('k') | ui/views/mus/views_mus_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698