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

Unified Diff: dbus/test_service.cc

Issue 2030653002: Migrate WaitableEvent to enum-based constructor in dbus/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@WEvent_enums
Patch Set: Created 4 years, 7 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 | « dbus/bus.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/test_service.cc
diff --git a/dbus/test_service.cc b/dbus/test_service.cc
index 217e8ee75912994968aafda6543855b24848053d..6445f6a6467c7247896272d53140c80790028f68 100644
--- a/dbus/test_service.cc
+++ b/dbus/test_service.cc
@@ -45,7 +45,8 @@ TestService::TestService(const Options& options)
service_name_(options.service_name),
request_ownership_options_(options.request_ownership_options),
dbus_task_runner_(options.dbus_task_runner),
- on_name_obtained_(false, false),
+ on_name_obtained_(base::WaitableEvent::ResetPolicy::AUTOMATIC,
+ base::WaitableEvent::InitialState::NOT_SIGNALED),
num_exported_methods_(0),
send_immediate_properties_changed_(false),
has_ownership_(false),
« no previous file with comments | « dbus/bus.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698