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

Side by Side Diff: net/websockets/websocket_throttle.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
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 #ifndef NET_WEBSOCKETS_WEBSOCKET_THROTTLE_H_ 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_THROTTLE_H_
6 #define NET_WEBSOCKETS_WEBSOCKET_THROTTLE_H_ 6 #define NET_WEBSOCKETS_WEBSOCKET_THROTTLE_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 12
13 #include "net/base/ip_endpoint.h" 13 #include "net/base/ip_endpoint.h"
14 #include "net/base/net_export.h" 14 #include "net/base/net_export.h"
15 15
16 template <typename T> struct DefaultSingletonTraits; 16 template <typename T>
17 struct DefaultSingletonTraits;
17 18
18 namespace net { 19 namespace net {
19 20
20 class SocketStream; 21 class SocketStream;
21 class WebSocketJob; 22 class WebSocketJob;
22 23
23 // SocketStreamThrottle for WebSocket protocol. 24 // SocketStreamThrottle for WebSocket protocol.
24 // Implements the client-side requirements in the spec. 25 // Implements the client-side requirements in the spec.
25 // http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol 26 // http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol
26 // 4.1 Handshake 27 // 4.1 Handshake
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 67
67 // Queue of sockets for websockets in opening state. 68 // Queue of sockets for websockets in opening state.
68 ConnectingQueue queue_; 69 ConnectingQueue queue_;
69 70
70 DISALLOW_COPY_AND_ASSIGN(WebSocketThrottle); 71 DISALLOW_COPY_AND_ASSIGN(WebSocketThrottle);
71 }; 72 };
72 73
73 } // namespace net 74 } // namespace net
74 75
75 #endif // NET_WEBSOCKETS_WEBSOCKET_THROTTLE_H_ 76 #endif // NET_WEBSOCKETS_WEBSOCKET_THROTTLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698