/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | httpserver.h | 37 class HttpServer; variable 55 class HttpServer { 57 HttpServer(); 58 virtual ~HttpServer(); 62 sigslot::signal3<HttpServer*, int, StreamInterface*> SignalConnectionClosed; 71 sigslot::signal3<HttpServer*, HttpServerTransaction*, bool*> 79 sigslot::signal2<HttpServer*, HttpServerTransaction*> SignalHttpRequest; 83 sigslot::signal3<HttpServer*, HttpServerTransaction*, int> 94 sigslot::signal1<HttpServer*> SignalCloseAllComplete; 99 Connection(int connection_id, HttpServer* server); [all …]
|
D | httpserver_unittest.cc | 29 HttpServerMonitor(HttpServer* server) in HttpServerMonitor() 39 void OnRequest(HttpServer*, HttpServerTransaction* t) { in OnRequest() 45 void OnRequestComplete(HttpServer*, HttpServerTransaction* t, int) { in OnRequestComplete() 49 void OnClosed(HttpServer*) { in OnClosed() 52 void OnConnectionClosed(HttpServer*, int, StreamInterface* stream) { in OnConnectionClosed() 58 void CreateClientConnection(HttpServer& server, in CreateClientConnection() 75 TEST(HttpServer, DoesNotSignalCloseUnlessCloseAllIsCalled) { in TEST() argument 76 HttpServer server; in TEST() 89 TEST(HttpServer, SignalsCloseWhenNoConnectionsAreActive) { in TEST() argument 90 HttpServer server; in TEST() [all …]
|
D | httpserver.cc | 45 HttpServer::HttpServer() : next_connection_id_(1), closing_(false) { in HttpServer() function in talk_base::HttpServer 48 HttpServer::~HttpServer() { in ~HttpServer() 62 HttpServer::HandleConnection(StreamInterface* stream) { in HandleConnection() 72 HttpServer::Respond(HttpServerTransaction* transaction) { in Respond() 84 HttpServer::Close(int connection_id, bool force) { in Close() 91 HttpServer::CloseAll(bool force) { in CloseAll() 108 HttpServer::Connection* 109 HttpServer::Find(int connection_id) { in Find() 117 HttpServer::Remove(int connection_id) { in Remove() 137 HttpServer::Connection::Connection(int connection_id, HttpServer* server) in Connection() [all …]
|
/external/chromium/net/server/ |
D | http_server.h | 20 class HttpServer : public ListenSocket::ListenSocketDelegate, 21 public base::RefCountedThreadSafe<HttpServer> { 39 HttpServer(const std::string& host, int port, HttpServer::Delegate* del); 40 virtual ~HttpServer(); 55 friend class base::RefCountedThreadSafe<HttpServer>; 59 friend class HttpServer; variable 61 explicit Connection(HttpServer* server, ListenSocket* sock); 68 HttpServer* server_; 94 HttpServer::Delegate* delegate_; 101 DISALLOW_COPY_AND_ASSIGN(HttpServer);
|
D | http_server.cc | 24 int HttpServer::Connection::lastId_ = 0; 26 HttpServer::HttpServer(const std::string& host, in HttpServer() function in net::HttpServer 28 HttpServer::Delegate* del) in HttpServer() 33 HttpServer::~HttpServer() { in ~HttpServer() 70 void HttpServer::AcceptWebSocket( in AcceptWebSocket() 107 void HttpServer::SendOverWebSocket(int connection_id, in SendOverWebSocket() 121 void HttpServer::Send(int connection_id, const std::string& data) { in Send() 129 void HttpServer::Send(int connection_id, const char* bytes, int len) { in Send() 137 void HttpServer::Send200(int connection_id, in Send200() 154 void HttpServer::Send404(int connection_id) { in Send404() [all …]
|
/external/chromium_org/net/server/ |
D | http_server.cc | 24 HttpServer::HttpServer(const StreamListenSocketFactory& factory, in HttpServer() function in net::HttpServer 25 HttpServer::Delegate* delegate) in HttpServer() 30 void HttpServer::AcceptWebSocket( in AcceptWebSocket() 41 void HttpServer::SendOverWebSocket(int connection_id, in SendOverWebSocket() 50 void HttpServer::SendResponse(int connection_id, in SendResponse() 58 void HttpServer::Send(int connection_id, in Send() 67 void HttpServer::Send200(int connection_id, in Send200() 73 void HttpServer::Send404(int connection_id) { in Send404() 77 void HttpServer::Send500(int connection_id, const std::string& message) { in Send500() 81 void HttpServer::Close(int connection_id) { in Close() [all …]
|
D | http_server.h | 24 class HttpServer : public StreamListenSocket::Delegate, 25 public base::RefCountedThreadSafe<HttpServer> { 44 HttpServer(const StreamListenSocketFactory& socket_factory, 45 HttpServer::Delegate* delegate); 75 virtual ~HttpServer(); 78 friend class base::RefCountedThreadSafe<HttpServer>; 91 HttpServer::Delegate* delegate_; 98 DISALLOW_COPY_AND_ASSIGN(HttpServer);
|
D | http_connection.h | 16 class HttpServer; variable 35 friend class HttpServer; 38 HttpConnection(HttpServer* server, scoped_ptr<StreamListenSocket> sock); 40 HttpServer* server_;
|
D | http_server_unittest.cc | 119 public HttpServer::Delegate { 125 server_ = new HttpServer(socket_factory, this); in SetUp() 161 scoped_refptr<HttpServer> server_;
|
D | http_connection.cc | 32 HttpConnection::HttpConnection(HttpServer* server, in HttpConnection()
|
/external/chromium_org/chrome/test/chromedriver/server/ |
D | chromedriver_server.cc | 43 class HttpServer : public net::HttpServer::Delegate { class 45 explicit HttpServer(const HttpRequestHandlerFunc& handle_request_func) in HttpServer() function in __anon80f388840111::HttpServer 49 virtual ~HttpServer() {} in ~HttpServer() 52 server_ = new net::HttpServer( in Start() 63 base::Bind(&HttpServer::OnResponse, in OnHttpRequest() 86 scoped_refptr<net::HttpServer> server_; 87 base::WeakPtrFactory<HttpServer> weak_factory_; // Should be last. 119 base::LazyInstance<base::ThreadLocalPointer<HttpServer> > 124 HttpServer* server = lazy_tls_server.Pointer()->Get(); in StopServerOnIOThread() 131 scoped_ptr<HttpServer> temp_server(new HttpServer(handle_request_func)); in StartServerOnIOThread()
|
/external/chromium_org/net/tools/fetch/ |
D | http_server.cc | 7 HttpServer::HttpServer(std::string ip, int port) in HttpServer() function in HttpServer 11 HttpServer::~HttpServer() { in ~HttpServer()
|
D | http_server.h | 15 class HttpServer { 17 HttpServer(std::string ip, int port); 18 ~HttpServer(); 22 DISALLOW_COPY_AND_ASSIGN(HttpServer);
|
/external/chromium/net/tools/fetch/ |
D | http_server.cc | 8 HttpServer::HttpServer(std::string ip, int port) in HttpServer() function in HttpServer 12 HttpServer::~HttpServer() { in ~HttpServer()
|
D | http_server.h | 16 class HttpServer { 18 HttpServer(std::string ip, int port); 19 ~HttpServer(); 23 DISALLOW_COPY_AND_ASSIGN(HttpServer);
|
D | fetch_server.cc | 39 HttpServer server("", 80); // TODO(mbelshe): make port configurable in main()
|
/external/chromium_org/content/browser/devtools/ |
D | devtools_browser_target.h | 26 class HttpServer; variable 36 net::HttpServer* server, 65 net::HttpServer* http_server_;
|
D | devtools_http_handler_impl.cc | 73 net::HttpServer* server, in DevToolsClientHostImpl() 97 base::Bind(&net::HttpServer::SendOverWebSocket, in InspectedContentsClosing() 104 base::Bind(&net::HttpServer::Close, server_, connection_id_)); in InspectedContentsClosing() 110 base::Bind(&net::HttpServer::SendOverWebSocket, in DispatchOnInspectorFrontend() 122 net::HttpServer* server_; 657 server_ = new net::HttpServer(*socket_factory_.get(), this); in Init() 700 base::Bind(&net::HttpServer::SendResponse, in SendJson() 713 base::Bind(&net::HttpServer::Send200, in Send200() 725 base::Bind(&net::HttpServer::Send404, server_.get(), connection_id)); in Send404() 734 base::Bind(&net::HttpServer::Send500, server_.get(), connection_id, in Send500() [all …]
|
D | devtools_http_handler_impl.h | 41 public net::HttpServer::Delegate { 118 scoped_refptr<net::HttpServer> server_;
|
/external/chromium_org/chrome/test/chromedriver/net/ |
D | net_util_unittest.cc | 30 public net::HttpServer::Delegate { 58 server_ = new net::HttpServer(factory, this); in InitOnIO() 84 base::Bind(&net::HttpServer::Close, server_, connection_id)); in OnHttpRequest() 107 scoped_refptr<net::HttpServer> server_;
|
D | test_http_server.cc | 98 base::Bind(&net::HttpServer::Close, server_, connection_id)); in OnWebSocketRequest() 118 base::Bind(&net::HttpServer::Close, server_, connection_id)); in OnWebSocketMessage() 132 server_ = new net::HttpServer(factory, this); in StartOnServerThread()
|
D | test_http_server.h | 26 class TestHttpServer : public net::HttpServer::Delegate { 80 scoped_refptr<net::HttpServer> server_;
|
/external/chromium/chrome/browser/debugger/ |
D | devtools_http_protocol_handler.cc | 40 net::HttpServer* server, in DevToolsClientHostImpl() 53 &net::HttpServer::Close, in InspectedTabClosing() 78 &net::HttpServer::SendOverWebSocket, in OnDispatchOnInspectorFrontend() 84 net::HttpServer* server_; 467 server_ = new net::HttpServer(ip_, port_, this); in Init() 510 &net::HttpServer::Send200, in Send200() 520 &net::HttpServer::Send404, in Send404() 529 &net::HttpServer::Send500, in Send500() 540 &net::HttpServer::AcceptWebSocket, in AcceptWebSocket()
|
D | devtools_http_protocol_handler.h | 24 : public net::HttpServer::Delegate, 101 scoped_refptr<net::HttpServer> server_;
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
D | privet_http_server.h | 20 class PrivetHttpServer: public net::HttpServer::Delegate { 207 scoped_refptr<net::HttpServer> server_;
|