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

Unified Diff: sync/internal_api/syncapi_server_connection_manager_unittest.cc

Issue 2031713002: Migrate WaitableEvent to enum-based constructor in sync/ (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
Index: sync/internal_api/syncapi_server_connection_manager_unittest.cc
diff --git a/sync/internal_api/syncapi_server_connection_manager_unittest.cc b/sync/internal_api/syncapi_server_connection_manager_unittest.cc
index 9e67be8df9c71f7c11165ae82d5f06b433cb3239..aedc7c1a79ed935e6047516b16354bb4b052f159 100644
--- a/sync/internal_api/syncapi_server_connection_manager_unittest.cc
+++ b/sync/internal_api/syncapi_server_connection_manager_unittest.cc
@@ -24,7 +24,9 @@ using base::TimeDelta;
class BlockingHttpPost : public HttpPostProviderInterface {
public:
- BlockingHttpPost() : wait_for_abort_(false, false) {}
+ BlockingHttpPost()
+ : wait_for_abort_(base::WaitableEvent::ResetPolicy::AUTOMATIC,
+ base::WaitableEvent::InitialState::NOT_SIGNALED) {}
~BlockingHttpPost() override {}
void SetExtraRequestHeaders(const char* headers) override {}
« no previous file with comments | « sync/internal_api/public/engine/model_safe_worker.cc ('k') | sync/test/fake_server/fake_server_http_post_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698