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

Unified Diff: chrome/chrome_watcher/chrome_watcher_main.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
Index: chrome/chrome_watcher/chrome_watcher_main.cc
diff --git a/chrome/chrome_watcher/chrome_watcher_main.cc b/chrome/chrome_watcher/chrome_watcher_main.cc
index 57cd9f078699548009bb5c75aa108b6f40e49963..25235952566c3d99d3cf53771d3dd4a16432e3ba 100644
--- a/chrome/chrome_watcher/chrome_watcher_main.cc
+++ b/chrome/chrome_watcher/chrome_watcher_main.cc
@@ -101,7 +101,9 @@ BrowserMonitor::BrowserMonitor(base::StringPiece16 registry_path,
base::Bind(&BrowserMonitor::OnEndSessionMessage,
base::Unretained(this))),
background_thread_("BrowserWatcherThread"),
- browser_exited_(true, false), // manual reset, initially non-signalled.
+ browser_exited_(
+ base::WaitableEvent::ResetPolicy::MANUAL,
+ base::WaitableEvent::InitialState::NOT_SIGNALED),
run_loop_(run_loop),
main_thread_(base::ThreadTaskRunnerHandle::Get()) {}
« no previous file with comments | « chrome/app/chrome_watcher_client_unittest_win.cc ('k') | components/browser_watcher/window_hang_monitor_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698