// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SERVICES_NETWORK_TEST_TEST_URL_LOADER_NETWORK_OBSERVER_H_ #define SERVICES_NETWORK_TEST_TEST_URL_LOADER_NETWORK_OBSERVER_H_ #include "mojo/public/cpp/bindings/pending_remote.h" #include "mojo/public/cpp/bindings/receiver_set.h" #include "services/network/public/mojom/url_loader_network_service_observer.mojom.h" namespace network { // A helper class with a basic URLLoaderNetworkServiceObserver // implementation for use in unittests, so they can just override the parts they // need. class TestURLLoaderNetworkObserver : public mojom::URLLoaderNetworkServiceObserver { … }; } // namespace network #endif // SERVICES_NETWORK_TEST_TEST_URL_LOADER_NETWORK_OBSERVER_H_