HomeSort by relevance Sort by last modified time
    Searched refs:HttpServer (Results 1 - 25 of 26) sorted by null

1 2

  /external/chromium_org/third_party/libjingle/source/talk/base/
httpserver.h 37 class HttpServer;
41 // HttpServer
55 class HttpServer {
57 HttpServer();
58 virtual ~HttpServer();
62 sigslot::signal3<HttpServer*, int, StreamInterface*> SignalConnectionClosed;
70 // owened by the HttpServer at this point.
71 sigslot::signal3<HttpServer*, HttpServerTransaction*, bool*>
79 sigslot::signal2<HttpServer*, HttpServerTransaction*> SignalHttpRequest;
83 sigslot::signal3<HttpServer*, HttpServerTransaction*, int
    [all...]
httpserver_unittest.cc 6 #include "talk/base/httpserver.h"
23 HttpServerMonitor(HttpServer* server)
33 void OnRequest(HttpServer*, HttpServerTransaction* t) {
39 void OnRequestComplete(HttpServer*, HttpServerTransaction* t, int) {
43 void OnClosed(HttpServer*) {
46 void OnConnectionClosed(HttpServer*, int, StreamInterface* stream) {
52 void CreateClientConnection(HttpServer& server,
69 TEST(HttpServer, DoesNotSignalCloseUnlessCloseAllIsCalled) {
70 HttpServer server;
83 TEST(HttpServer, SignalsCloseWhenNoConnectionsAreActive)
    [all...]
httpserver.cc 34 #include "talk/base/httpserver.h"
42 // HttpServer
45 HttpServer::HttpServer() : next_connection_id_(1), closing_(false) {
48 HttpServer::~HttpServer() {
50 LOG(LS_WARNING) << "HttpServer::CloseAll has not completed";
62 HttpServer::HandleConnection(StreamInterface* stream) {
72 HttpServer::Respond(HttpServerTransaction* transaction) {
84 HttpServer::Close(int connection_id, bool force)
    [all...]
asynchttprequest_unittest.cc 31 #include "talk/base/httpserver.h"
43 class TestHttpServer : public HttpServer, public sigslot::has_slots<> {
112 void OnRequest(HttpServer* server, HttpServerTransaction* t) {
  /external/chromium_org/third_party/webrtc/base/
httpserver.h 20 class HttpServer;
24 // HttpServer
38 class HttpServer {
40 HttpServer();
41 virtual ~HttpServer();
45 sigslot::signal3<HttpServer*, int, StreamInterface*> SignalConnectionClosed;
53 // owened by the HttpServer at this point.
54 sigslot::signal3<HttpServer*, HttpServerTransaction*, bool*>
62 sigslot::signal2<HttpServer*, HttpServerTransaction*> SignalHttpRequest;
66 sigslot::signal3<HttpServer*, HttpServerTransaction*, int
    [all...]
httpserver_unittest.cc 12 #include "webrtc/base/httpserver.h"
29 HttpServerMonitor(HttpServer* server)
39 void OnRequest(HttpServer*, HttpServerTransaction* t) {
45 void OnRequestComplete(HttpServer*, HttpServerTransaction* t, int) {
49 void OnClosed(HttpServer*) {
52 void OnConnectionClosed(HttpServer*, int, StreamInterface* stream) {
58 void CreateClientConnection(HttpServer& server,
75 TEST(HttpServer, DoesNotSignalCloseUnlessCloseAllIsCalled) {
76 HttpServer server;
89 TEST(HttpServer, SignalsCloseWhenNoConnectionsAreActive)
    [all...]
httpserver.cc 17 #include "webrtc/base/httpserver.h"
25 // HttpServer
28 HttpServer::HttpServer() : next_connection_id_(1), closing_(false) {
31 HttpServer::~HttpServer() {
33 LOG(LS_WARNING) << "HttpServer::CloseAll has not completed";
45 HttpServer::HandleConnection(StreamInterface* stream) {
55 HttpServer::Respond(HttpServerTransaction* transaction) {
67 HttpServer::Close(int connection_id, bool force)
    [all...]
asynchttprequest_unittest.cc 14 #include "webrtc/base/httpserver.h"
26 class TestHttpServer : public HttpServer, public sigslot::has_slots<> {
95 void OnRequest(HttpServer* server, HttpServerTransaction* t) {
  /external/chromium_org/net/server/
http_connection.h 16 class HttpServer;
35 friend class HttpServer;
38 HttpConnection(HttpServer* server, scoped_ptr<StreamListenSocket> sock);
40 HttpServer* server_;
http_server.h 24 class HttpServer : public StreamListenSocket::Delegate,
25 public base::RefCountedThreadSafe<HttpServer> {
44 HttpServer(const StreamListenSocketFactory& socket_factory,
45 HttpServer::Delegate* delegate);
79 virtual ~HttpServer();
82 friend class base::RefCountedThreadSafe<HttpServer>;
95 HttpServer::Delegate* delegate_;
102 DISALLOW_COPY_AND_ASSIGN(HttpServer);
http_server.cc 24 HttpServer::HttpServer(const StreamListenSocketFactory& factory,
25 HttpServer::Delegate* delegate)
30 void HttpServer::AcceptWebSocket(
41 void HttpServer::SendOverWebSocket(int connection_id,
50 void HttpServer::SendRaw(int connection_id, const std::string& data) {
57 void HttpServer::SendResponse(int connection_id,
65 void HttpServer::Send(int connection_id,
74 void HttpServer::Send200(int connection_id,
80 void HttpServer::Send404(int connection_id)
    [all...]
http_connection.cc 32 HttpConnection::HttpConnection(HttpServer* server,
http_server_unittest.cc 153 public HttpServer::Delegate {
159 server_ = new HttpServer(socket_factory, this);
203 scoped_refptr<HttpServer> server_;
  /external/chromium_org/mojo/spy/
websocket_server.h 12 class WebSocketServer : public net::HttpServer::Delegate {
23 // Overridden from net::HttpServer::Delegate.
38 scoped_refptr<net::HttpServer> server_;
websocket_server.cc 28 server_ = new net::HttpServer(factory, this);
48 base::Bind(&net::HttpServer::Close, server_, connection_id));
  /external/chromium_org/third_party/libaddressinput/src/java/test/com/android/i18n/addressinput/
JsonpRequestBuilderTest.java 41 String url = HttpServer.execute(1000, "{\"id\": \"data\"}");
62 String url = HttpServer.execute(2000, "Fubar");
83 String urlBase = HttpServer.execute(1000, "{\"id\": \"data\"}");
104 private static class HttpServer extends Thread {
116 HttpServer server = new HttpServer(timeoutMillis, response);
145 private HttpServer(long waitMillis, String response) throws IOException {
  /external/chromium_org/chrome/test/chromedriver/server/
chromedriver_server.cc 46 class HttpServer : public net::HttpServer::Delegate {
48 explicit HttpServer(const HttpRequestHandlerFunc& handle_request_func)
52 virtual ~HttpServer() {}
58 server_ = new net::HttpServer(
64 // Overridden from net::HttpServer::Delegate:
69 base::Bind(&HttpServer::OnResponse,
92 scoped_refptr<net::HttpServer> server_;
93 base::WeakPtrFactory<HttpServer> weak_factory_; // Should be last.
140 base::LazyInstance<base::ThreadLocalPointer<HttpServer> >
    [all...]
  /external/chromium_org/content/browser/devtools/
devtools_browser_target.h 25 class HttpServer;
34 DevToolsBrowserTarget(net::HttpServer* server, int connection_id);
62 net::HttpServer* http_server_;
devtools_http_handler_impl.h 41 public net::HttpServer::Delegate {
58 // net::HttpServer::Delegate implementation.
121 scoped_refptr<net::HttpServer> server_;
devtools_http_handler_impl.cc 77 net::HttpServer* server,
101 base::Bind(&net::HttpServer::SendOverWebSocket,
108 base::Bind(&net::HttpServer::Close, server_, connection_id_));
114 base::Bind(&net::HttpServer::SendOverWebSocket,
126 net::HttpServer* server_;
667 server_ = new net::HttpServer(*socket_factory_.get(), this);
731 base::Bind(&net::HttpServer::SendResponse,
744 base::Bind(&net::HttpServer::Send200,
756 base::Bind(&net::HttpServer::Send404, server_.get(), connection_id));
765 base::Bind(&net::HttpServer::Send500, server_.get(), connection_id
    [all...]
devtools_browser_target.cc 21 net::HttpServer* http_server,
  /external/chromium_org/chrome/test/chromedriver/net/
net_util_unittest.cc 30 public net::HttpServer::Delegate {
58 server_ = new net::HttpServer(factory, this);
70 // Overridden from net::HttpServer::Delegate:
81 // net::HttpServer doesn't allow us to close connection during callback.
84 base::Bind(&net::HttpServer::Close, server_, connection_id));
107 scoped_refptr<net::HttpServer> server_;
test_http_server.h 26 class TestHttpServer : public net::HttpServer::Delegate {
63 // Overridden from net::HttpServer::Delegate:
80 scoped_refptr<net::HttpServer> server_;
test_http_server.cc 95 // net::HttpServer doesn't allow us to close connection during callback.
98 base::Bind(&net::HttpServer::Close, server_, connection_id));
115 // net::HttpServer doesn't allow us to close connection during callback.
118 base::Bind(&net::HttpServer::Close, server_, connection_id));
132 server_ = new net::HttpServer(factory, this);
  /external/chromium_org/cloud_print/gcp20/prototype/
privet_http_server.h 20 class PrivetHttpServer: public net::HttpServer::Delegate {
143 // net::HttpServer::Delegate methods:
207 scoped_refptr<net::HttpServer> server_;

Completed in 422 milliseconds

1 2