// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/check.h" #include "base/synchronization/waitable_event.h" #include "cronet_c.h" #ifndef COMPONENTS_CRONET_NATIVE_TEST_TEST_REQUEST_FINISHED_INFO_LISTENER_H_ #define COMPONENTS_CRONET_NATIVE_TEST_TEST_REQUEST_FINISHED_INFO_LISTENER_H_ namespace cronet { namespace test { // A RequestFinishedInfoListener implementation that allows waiting for and // accessing callback results from tests. // // Note that the RequestFinishedInfo for a request is shared-owned by its // UrlRequest and the code calling the listeners. class TestRequestFinishedInfoListener { … }; } // namespace test } // namespace cronet #endif // COMPONENTS_CRONET_NATIVE_TEST_TEST_REQUEST_FINISHED_INFO_LISTENER_H_