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

Side by Side Diff: net/websockets/websocket_basic_handshake_stream.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BASIC_HANDSHAKE_STREAM_H_ 5 #ifndef NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_
6 #define NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_ 6 #define NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual int ReadResponseBody(IOBuffer* buf, 49 virtual int ReadResponseBody(IOBuffer* buf,
50 int buf_len, 50 int buf_len,
51 const CompletionCallback& callback) OVERRIDE; 51 const CompletionCallback& callback) OVERRIDE;
52 virtual void Close(bool not_reusable) OVERRIDE; 52 virtual void Close(bool not_reusable) OVERRIDE;
53 virtual bool IsResponseBodyComplete() const OVERRIDE; 53 virtual bool IsResponseBodyComplete() const OVERRIDE;
54 virtual bool CanFindEndOfResponse() const OVERRIDE; 54 virtual bool CanFindEndOfResponse() const OVERRIDE;
55 virtual bool IsConnectionReused() const OVERRIDE; 55 virtual bool IsConnectionReused() const OVERRIDE;
56 virtual void SetConnectionReused() OVERRIDE; 56 virtual void SetConnectionReused() OVERRIDE;
57 virtual bool IsConnectionReusable() const OVERRIDE; 57 virtual bool IsConnectionReusable() const OVERRIDE;
58 virtual int64 GetTotalReceivedBytes() const OVERRIDE; 58 virtual int64 GetTotalReceivedBytes() const OVERRIDE;
59 virtual bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const 59 virtual bool GetLoadTimingInfo(
60 OVERRIDE; 60 LoadTimingInfo* load_timing_info) const OVERRIDE;
61 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; 61 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE;
62 virtual void GetSSLCertRequestInfo( 62 virtual void GetSSLCertRequestInfo(
63 SSLCertRequestInfo* cert_request_info) OVERRIDE; 63 SSLCertRequestInfo* cert_request_info) OVERRIDE;
64 virtual bool IsSpdyHttpStream() const OVERRIDE; 64 virtual bool IsSpdyHttpStream() const OVERRIDE;
65 virtual void Drain(HttpNetworkSession* session) OVERRIDE; 65 virtual void Drain(HttpNetworkSession* session) OVERRIDE;
66 virtual void SetPriority(RequestPriority priority) OVERRIDE; 66 virtual void SetPriority(RequestPriority priority) OVERRIDE;
67 67
68 // This is called from the top level once correct handshake response headers 68 // This is called from the top level once correct handshake response headers
69 // have been received. It creates an appropriate subclass of WebSocketStream 69 // have been received. It creates an appropriate subclass of WebSocketStream
70 // depending on what extensions were negotiated. This object is unusable after 70 // depending on what extensions were negotiated. This object is unusable after
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 scoped_ptr<WebSocketExtensionParams> extension_params_; 132 scoped_ptr<WebSocketExtensionParams> extension_params_;
133 133
134 std::string failure_message_; 134 std::string failure_message_;
135 135
136 DISALLOW_COPY_AND_ASSIGN(WebSocketBasicHandshakeStream); 136 DISALLOW_COPY_AND_ASSIGN(WebSocketBasicHandshakeStream);
137 }; 137 };
138 138
139 } // namespace net 139 } // namespace net
140 140
141 #endif // NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_ 141 #endif // NET_WEBSOCKETS_WEBSOCKET_BASIC_HANDSHAKE_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698