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

Unified Diff: chrome/service/service_process.cc

Issue 2024723002: DO NOT COMMIT (will be split in sub-components) - clang-tidy WaitableEvent refactor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@WEvent_enums
Patch Set: fix presubmits 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 | « chrome/service/service_ipc_server_unittest.cc ('k') | chrome/test/base/mojo_test_connector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « chrome/service/service_ipc_server_unittest.cc ('k') | chrome/test/base/mojo_test_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698