Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: mojo/services/network/http_connection_impl.h

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SERVICES_NETWORK_HTTP_CONNECTION_IMPL_H_ 5 #ifndef MOJO_SERVICES_NETWORK_HTTP_CONNECTION_IMPL_H_
6 #define MOJO_SERVICES_NETWORK_HTTP_CONNECTION_IMPL_H_ 6 #define MOJO_SERVICES_NETWORK_HTTP_CONNECTION_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 10 matching lines...) Expand all
21 namespace mojo { 21 namespace mojo {
22 22
23 class HttpServerImpl; 23 class HttpServerImpl;
24 24
25 class HttpConnectionImpl : public HttpConnection { 25 class HttpConnectionImpl : public HttpConnection {
26 public: 26 public:
27 // |server| must outlive this object. 27 // |server| must outlive this object.
28 HttpConnectionImpl(int connection_id, 28 HttpConnectionImpl(int connection_id,
29 HttpServerImpl* server, 29 HttpServerImpl* server,
30 HttpConnectionDelegatePtr delegate, 30 HttpConnectionDelegatePtr delegate,
31 HttpConnectionPtr* connection); 31 InterfaceHandle<HttpConnection>* connection);
32 32
33 ~HttpConnectionImpl() override; 33 ~HttpConnectionImpl() override;
34 34
35 void OnReceivedHttpRequest(const net::HttpServerRequestInfo& info); 35 void OnReceivedHttpRequest(const net::HttpServerRequestInfo& info);
36 void OnReceivedWebSocketRequest(const net::HttpServerRequestInfo& info); 36 void OnReceivedWebSocketRequest(const net::HttpServerRequestInfo& info);
37 void OnReceivedWebSocketMessage(const std::string& data); 37 void OnReceivedWebSocketMessage(const std::string& data);
38 38
39 private: 39 private:
40 class SimpleDataPipeReader; 40 class SimpleDataPipeReader;
41 class WebSocketImpl; 41 class WebSocketImpl;
(...skipping 29 matching lines...) Expand all
71 std::set<SimpleDataPipeReader*> response_body_readers_; 71 std::set<SimpleDataPipeReader*> response_body_readers_;
72 72
73 scoped_ptr<WebSocketImpl> web_socket_; 73 scoped_ptr<WebSocketImpl> web_socket_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(HttpConnectionImpl); 75 DISALLOW_COPY_AND_ASSIGN(HttpConnectionImpl);
76 }; 76 };
77 77
78 } // namespace mojo 78 } // namespace mojo
79 79
80 #endif // MOJO_SERVICES_NETWORK_HTTP_CONNECTION_IMPL_H_ 80 #endif // MOJO_SERVICES_NETWORK_HTTP_CONNECTION_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/services/network/host_resolver_apptest.cc ('k') | mojo/services/network/http_connection_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698