#include "services/network/net_log_proxy_sink.h"
#include "base/run_loop.h"
#include "base/task/thread_pool.h"
#include "base/test/task_environment.h"
#include "net/log/test_net_log.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
class FakeNetLogProxySource : public network::mojom::NetLogProxySource { … };
void CreateObserver(std::unique_ptr<net::RecordingNetLogObserver>* out_observer,
net::NetLogCaptureMode capture_mode) { … }
void DestroyObserver(
std::unique_ptr<net::RecordingNetLogObserver>* out_observer) { … }
}
TEST(NetLogProxySink, TestMultipleObservers) { … }
TEST(NetLogProxySink, TestAttachAfterObserverAdded) { … }