#include "components/net_log/net_log_proxy_source.h"
#include "base/run_loop.h"
#include "base/synchronization/lock.h"
#include "base/task/thread_pool.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "net/log/net_log.h"
#include "net/log/net_log_with_source.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
class FakeNetLogProxySink : public network::mojom::NetLogProxySink { … };
class NetLogCaptureModeWaiter
: public net::NetLog::ThreadSafeCaptureModeObserver { … };
base::Value::Dict NetLogCaptureModeToParams(
net::NetLogCaptureMode capture_mode) { … }
}
TEST(NetLogProxySource, OnlyProxiesEventsWhenCaptureModeSetIsNonZero) { … }
TEST(NetLogProxySource, ProxiesParamsOfLeastSensitiveCaptureMode) { … }