OLD | NEW |
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 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "mojo/public/cpp/bindings/binding.h" |
13 #include "mojo/services/network/public/interfaces/http_connection.mojom.h" | 14 #include "mojo/services/network/public/interfaces/http_connection.mojom.h" |
14 #include "mojo/services/network/public/interfaces/http_message.mojom.h" | 15 #include "mojo/services/network/public/interfaces/http_message.mojom.h" |
15 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" | |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 class HttpServerRequestInfo; | 18 class HttpServerRequestInfo; |
19 } | 19 } |
20 | 20 |
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 { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 std::set<SimpleDataPipeReader*> response_body_readers_; | 73 std::set<SimpleDataPipeReader*> response_body_readers_; |
74 | 74 |
75 scoped_ptr<WebSocketImpl> web_socket_; | 75 scoped_ptr<WebSocketImpl> web_socket_; |
76 | 76 |
77 DISALLOW_COPY_AND_ASSIGN(HttpConnectionImpl); | 77 DISALLOW_COPY_AND_ASSIGN(HttpConnectionImpl); |
78 }; | 78 }; |
79 | 79 |
80 } // namespace mojo | 80 } // namespace mojo |
81 | 81 |
82 #endif // MOJO_SERVICES_NETWORK_HTTP_CONNECTION_IMPL_H_ | 82 #endif // MOJO_SERVICES_NETWORK_HTTP_CONNECTION_IMPL_H_ |
OLD | NEW |