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

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

Issue 4935001: Allow a non-200 (or non-407) response for a CONNECT request from an HTTPS pro... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove stray reference to connect_response_http_stream.h Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_HTTP_STREAM_H_ 5 #ifndef NET_SPDY_SPDY_HTTP_STREAM_H_
6 #define NET_SPDY_SPDY_HTTP_STREAM_H_ 6 #define NET_SPDY_SPDY_HTTP_STREAM_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <string> 10 #include <string>
(...skipping 15 matching lines...) Expand all
26 class IOBuffer; 26 class IOBuffer;
27 class SpdySession; 27 class SpdySession;
28 class UploadData; 28 class UploadData;
29 class UploadDataStream; 29 class UploadDataStream;
30 30
31 // The SpdyHttpStream is a HTTP-specific type of stream known to a SpdySession. 31 // The SpdyHttpStream is a HTTP-specific type of stream known to a SpdySession.
32 class SpdyHttpStream : public SpdyStream::Delegate, public HttpStream { 32 class SpdyHttpStream : public SpdyStream::Delegate, public HttpStream {
33 public: 33 public:
34 // SpdyHttpStream constructor 34 // SpdyHttpStream constructor
35 SpdyHttpStream(SpdySession* spdy_session, bool direct); 35 SpdyHttpStream(SpdySession* spdy_session, bool direct);
36 // Constructs a SpdyHttpStream that wraps an existing SpdyStream.
willchan no longer on Chromium 2010/12/14 00:34:42 Same style comment on overloading being disallowed
Ryan Hamilton 2010/12/15 20:14:17 Done.
37 explicit SpdyHttpStream(SpdyStream* spdy_stream);
36 virtual ~SpdyHttpStream(); 38 virtual ~SpdyHttpStream();
37 39
38 SpdyStream* stream() { return stream_.get(); } 40 SpdyStream* stream() { return stream_.get(); }
39 41
40 // =================================================== 42 // ===================================================
41 // HttpStream methods: 43 // HttpStream methods:
42 44
43 // Initialize stream. Must be called before calling SendRequest(). 45 // Initialize stream. Must be called before calling SendRequest().
44 virtual int InitializeStream(const HttpRequestInfo* request_info, 46 virtual int InitializeStream(const HttpRequestInfo* request_info,
45 const BoundNetLog& net_log, 47 const BoundNetLog& net_log,
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 182
181 // Is this spdy stream direct to the origin server (or to a proxy). 183 // Is this spdy stream direct to the origin server (or to a proxy).
182 bool direct_; 184 bool direct_;
183 185
184 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream); 186 DISALLOW_COPY_AND_ASSIGN(SpdyHttpStream);
185 }; 187 };
186 188
187 } // namespace net 189 } // namespace net
188 190
189 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_ 191 #endif // NET_SPDY_SPDY_HTTP_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698