// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_TEST_EVENT_WAITER_H_ #define NET_TEST_EVENT_WAITER_H_ #include "base/run_loop.h" namespace net { // Helper class to run a RunLoop until an expected event is reported. template <typename Event> class EventWaiter { … }; } // namespace net #endif // NET_TEST_EVENT_WAITER_H_