Home
last modified time | relevance | path

Searched refs:BaseTestServer (Results 1 – 12 of 12) sorted by relevance

/external/cronet/tot/net/test/spawned_test_server/
Dbase_test_server.cc38 std::string GetHostname(BaseTestServer::Type type, in GetHostname()
39 const BaseTestServer::SSLOptions& options) { in GetHostname()
40 if (BaseTestServer::UsingSSL(type)) { in GetHostname()
42 BaseTestServer::SSLOptions::CERT_MISMATCHED_NAME || in GetHostname()
44 BaseTestServer::SSLOptions::CERT_COMMON_NAME_IS_DOMAIN) { in GetHostname()
74 BaseTestServer::SSLOptions::SSLOptions() = default;
75 BaseTestServer::SSLOptions::SSLOptions(ServerCertificate cert) in SSLOptions()
77 BaseTestServer::SSLOptions::SSLOptions(base::FilePath cert) in SSLOptions()
79 BaseTestServer::SSLOptions::SSLOptions(const SSLOptions& other) = default;
81 BaseTestServer::SSLOptions::~SSLOptions() = default;
[all …]
Dbase_test_server.h35 class BaseTestServer {
111 explicit BaseTestServer(Type type);
114 BaseTestServer(Type type, const SSLOptions& ssl_options);
116 BaseTestServer(const BaseTestServer&) = delete;
117 BaseTestServer& operator=(const BaseTestServer&) = delete;
166 static bool UsingSSL(Type type) { return type == BaseTestServer::TYPE_WSS; } in UsingSSL()
190 virtual ~BaseTestServer();
Dremote_test_server.cc38 std::string GetServerTypeString(BaseTestServer::Type type) { in GetServerTypeString()
40 case BaseTestServer::TYPE_WS: in GetServerTypeString()
41 case BaseTestServer::TYPE_WSS: in GetServerTypeString()
99 : BaseTestServer(type), io_thread_("RemoteTestServer IO Thread") { in RemoteTestServer()
108 : BaseTestServer(type, ssl_options), in RemoteTestServer()
Dlocal_test_server.cc60 : BaseTestServer(type) { in LocalTestServer()
68 : BaseTestServer(type, ssl_options) { in LocalTestServer()
Dremote_test_server.h66 class RemoteTestServer : public BaseTestServer {
Dlocal_test_server.h29 class LocalTestServer : public BaseTestServer {
/external/cronet/stable/net/test/spawned_test_server/
Dbase_test_server.cc38 std::string GetHostname(BaseTestServer::Type type, in GetHostname()
39 const BaseTestServer::SSLOptions& options) { in GetHostname()
40 if (BaseTestServer::UsingSSL(type)) { in GetHostname()
42 BaseTestServer::SSLOptions::CERT_MISMATCHED_NAME || in GetHostname()
44 BaseTestServer::SSLOptions::CERT_COMMON_NAME_IS_DOMAIN) { in GetHostname()
74 BaseTestServer::SSLOptions::SSLOptions() = default;
75 BaseTestServer::SSLOptions::SSLOptions(ServerCertificate cert) in SSLOptions()
77 BaseTestServer::SSLOptions::SSLOptions(base::FilePath cert) in SSLOptions()
79 BaseTestServer::SSLOptions::SSLOptions(const SSLOptions& other) = default;
81 BaseTestServer::SSLOptions::~SSLOptions() = default;
[all …]
Dbase_test_server.h35 class BaseTestServer {
111 explicit BaseTestServer(Type type);
114 BaseTestServer(Type type, const SSLOptions& ssl_options);
116 BaseTestServer(const BaseTestServer&) = delete;
117 BaseTestServer& operator=(const BaseTestServer&) = delete;
166 static bool UsingSSL(Type type) { return type == BaseTestServer::TYPE_WSS; } in UsingSSL()
190 virtual ~BaseTestServer();
Dremote_test_server.cc38 std::string GetServerTypeString(BaseTestServer::Type type) { in GetServerTypeString()
40 case BaseTestServer::TYPE_WS: in GetServerTypeString()
41 case BaseTestServer::TYPE_WSS: in GetServerTypeString()
99 : BaseTestServer(type), io_thread_("RemoteTestServer IO Thread") { in RemoteTestServer()
108 : BaseTestServer(type, ssl_options), in RemoteTestServer()
Dlocal_test_server.cc60 : BaseTestServer(type) { in LocalTestServer()
68 : BaseTestServer(type, ssl_options) { in LocalTestServer()
Dremote_test_server.h66 class RemoteTestServer : public BaseTestServer {
Dlocal_test_server.h29 class LocalTestServer : public BaseTestServer {