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

Side by Side Diff: net/spdy/spdy_websocket_stream.h

Issue 10870080: Add SPDY request headers to DevTools. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Back to CL #6 Created 8 years, 3 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
« no previous file with comments | « net/spdy/spdy_stream.h ('k') | net/websockets/websocket_handshake_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_SPDY_SPDY_WEBSOCKET_STREAM_H_ 5 #ifndef NET_SPDY_SPDY_WEBSOCKET_STREAM_H_
6 #define NET_SPDY_SPDY_WEBSOCKET_STREAM_H_ 6 #define NET_SPDY_SPDY_WEBSOCKET_STREAM_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/time.h" 12 #include "base/time.h"
13 #include "net/base/completion_callback.h" 13 #include "net/base/completion_callback.h"
14 #include "net/base/request_priority.h" 14 #include "net/base/request_priority.h"
15 #include "net/spdy/spdy_framer.h" 15 #include "net/spdy/spdy_framer.h"
16 #include "net/spdy/spdy_header_block.h"
16 #include "net/spdy/spdy_stream.h" 17 #include "net/spdy/spdy_stream.h"
17 18
18 namespace net { 19 namespace net {
19 20
20 // The SpdyWebSocketStream is a WebSocket-specific type of stream known to a 21 // The SpdyWebSocketStream is a WebSocket-specific type of stream known to a
21 // SpdySession. WebSocket's opening handshake is converted to SPDY's 22 // SpdySession. WebSocket's opening handshake is converted to SPDY's
22 // SYN_STREAM/SYN_REPLY. WebSocket frames are encapsulated as SPDY data frames. 23 // SYN_STREAM/SYN_REPLY. WebSocket frames are encapsulated as SPDY data frames.
23 class NET_EXPORT_PRIVATE SpdyWebSocketStream 24 class NET_EXPORT_PRIVATE SpdyWebSocketStream
24 : public SpdyStream::Delegate { 25 : public SpdyStream::Delegate {
25 public: 26 public:
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 scoped_refptr<SpdyStream> stream_; 94 scoped_refptr<SpdyStream> stream_;
94 scoped_refptr<SpdySession> spdy_session_; 95 scoped_refptr<SpdySession> spdy_session_;
95 Delegate* delegate_; 96 Delegate* delegate_;
96 97
97 DISALLOW_COPY_AND_ASSIGN(SpdyWebSocketStream); 98 DISALLOW_COPY_AND_ASSIGN(SpdyWebSocketStream);
98 }; 99 };
99 100
100 } // namespace net 101 } // namespace net
101 102
102 #endif // NET_SPDY_SPDY_WEBSOCKET_STREAM_H_ 103 #endif // NET_SPDY_SPDY_WEBSOCKET_STREAM_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_stream.h ('k') | net/websockets/websocket_handshake_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698