#include "components/cronet/native/test/test_util.h"
#include <memory>
#include <string>
#include "base/functional/bind.h"
#include "base/strings/stringprintf.h"
#include "base/task/sequenced_task_runner.h"
#include "components/cronet/native/generated/cronet.idl_c.h"
#include "net/base/net_errors.h"
#include "net/cert/mock_cert_verifier.h"
namespace {
void TestExecutor_Execute(Cronet_ExecutorPtr self,
Cronet_RunnablePtr runnable) { … }
class TestCertVerifier : public net::MockCertVerifier { … };
}
namespace cronet {
namespace test {
Cronet_EnginePtr CreateTestEngine(int quic_server_port) { … }
Cronet_ExecutorPtr CreateTestExecutor() { … }
base::OnceClosure RunnableWrapper::CreateOnceClosure(
Cronet_RunnablePtr runnable) { … }
}
}