OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // WebSocket protocol implementation in chromium. | 5 // WebSocket protocol implementation in chromium. |
6 // It is intended to be used for live experiment of WebSocket connectivity | 6 // It is intended to be used for live experiment of WebSocket connectivity |
7 // metrics. | 7 // metrics. |
8 // Note that it is not used for WebKit's WebSocket communication. | 8 // Note that it is not used for WebKit's WebSocket communication. |
9 // See third_party/WebKit/WebCore/websockets/ instead. | 9 // See third_party/WebKit/Source/WebCore/websockets/ instead. |
10 | 10 |
11 #ifndef NET_WEBSOCKETS_WEBSOCKET_H_ | 11 #ifndef NET_WEBSOCKETS_WEBSOCKET_H_ |
12 #define NET_WEBSOCKETS_WEBSOCKET_H_ | 12 #define NET_WEBSOCKETS_WEBSOCKET_H_ |
13 #pragma once | 13 #pragma once |
14 | 14 |
15 #include <deque> | 15 #include <deque> |
16 #include <string> | 16 #include <string> |
17 | 17 |
18 #include "base/ref_counted.h" | 18 #include "base/ref_counted.h" |
19 #include "base/scoped_ptr.h" | 19 #include "base/scoped_ptr.h" |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 // |closing_handshake_timeout_|. | 223 // |closing_handshake_timeout_|. |
224 CancelableTask* force_close_task_; | 224 CancelableTask* force_close_task_; |
225 int64 closing_handshake_timeout_; | 225 int64 closing_handshake_timeout_; |
226 | 226 |
227 DISALLOW_COPY_AND_ASSIGN(WebSocket); | 227 DISALLOW_COPY_AND_ASSIGN(WebSocket); |
228 }; | 228 }; |
229 | 229 |
230 } // namespace net | 230 } // namespace net |
231 | 231 |
232 #endif // NET_WEBSOCKETS_WEBSOCKET_H_ | 232 #endif // NET_WEBSOCKETS_WEBSOCKET_H_ |
OLD | NEW |