| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 NET_SERVER_HTTP_CONNECTION_H_ | 5 #ifndef NET_SERVER_HTTP_CONNECTION_H_ |
| 6 #define NET_SERVER_HTTP_CONNECTION_H_ | 6 #define NET_SERVER_HTTP_CONNECTION_H_ |
| 7 | 7 |
| 8 #include <queue> | 8 #include <queue> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "net/base/io_buffer.h" | 14 #include "net/base/io_buffer.h" |
| 15 | 15 |
| 16 namespace net { | 16 namespace net { |
| 17 | 17 |
| 18 class StreamSocket; | 18 class StreamSocket; |
| 19 class WebSocket; | 19 class WebSocket; |
| 20 | 20 |
| 21 // A container which has all information of an http connection. It includes | 21 // A container which has all information of an http connection. It includes |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 const scoped_refptr<QueuedWriteIOBuffer> write_buf_; | 128 const scoped_refptr<QueuedWriteIOBuffer> write_buf_; |
| 129 | 129 |
| 130 scoped_ptr<WebSocket> web_socket_; | 130 scoped_ptr<WebSocket> web_socket_; |
| 131 | 131 |
| 132 DISALLOW_COPY_AND_ASSIGN(HttpConnection); | 132 DISALLOW_COPY_AND_ASSIGN(HttpConnection); |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 } // namespace net | 135 } // namespace net |
| 136 | 136 |
| 137 #endif // NET_SERVER_HTTP_CONNECTION_H_ | 137 #endif // NET_SERVER_HTTP_CONNECTION_H_ |
| OLD | NEW |