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

Unified Diff: chrome/service/service_process.cc

Issue 2021393004: Migrate WaitableEvent to enum-based constructor in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@WEvent_enums
Patch Set: Split out custom changes to thread_watcher_unittest.cc 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
Index: chrome/service/service_process.cc
diff --git a/chrome/service/service_process.cc b/chrome/service/service_process.cc
index d7b9c3e49586645a45cff80c53ca132e92d9c51b..dba9f442b06bc43052420897a680e4a52418729a 100644
--- a/chrome/service/service_process.cc
+++ b/chrome/service/service_process.cc
@@ -120,7 +120,8 @@ void PrepareRestartOnCrashEnviroment(
} // namespace
ServiceProcess::ServiceProcess()
- : shutdown_event_(true /* manual_reset */, false /* initially_signaled */),
+ : shutdown_event_(base::WaitableEvent::ResetPolicy::MANUAL,
+ base::WaitableEvent::InitialState::NOT_SIGNALED),
main_message_loop_(NULL),
enabled_services_(0),
update_available_(false) {

Powered by Google App Engine
This is Rietveld 408576698