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

Unified Diff: chromeos/system/statistics_provider.cc

Issue 2056493002: clang-tidy WaitableEvent refactor (ChromeOS 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 | « chromeos/dbus/blocking_method_caller.cc ('k') | components/exo/wayland/server_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/system/statistics_provider.cc
diff --git a/chromeos/system/statistics_provider.cc b/chromeos/system/statistics_provider.cc
index 4c8bf1fd79eee539012bab7003c507afe75fe586..18c697681aa5e6ff66a2578d14a6db441b2bcc91 100644
--- a/chromeos/system/statistics_provider.cc
+++ b/chromeos/system/statistics_provider.cc
@@ -377,8 +377,8 @@ void StatisticsProviderImpl::Shutdown() {
StatisticsProviderImpl::StatisticsProviderImpl()
: load_statistics_started_(false),
- on_statistics_loaded_(true /* manual_reset */,
- false /* initially_signaled */),
+ on_statistics_loaded_(base::WaitableEvent::ResetPolicy::MANUAL,
+ base::WaitableEvent::InitialState::NOT_SIGNALED),
oem_manifest_loaded_(false) {
regional_data_extractors_[kInitialLocaleKey] =
&GetInitialLocaleFromRegionalData;
« no previous file with comments | « chromeos/dbus/blocking_method_caller.cc ('k') | components/exo/wayland/server_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698