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

Side by Side Diff: net/quic/quic_http_stream.h

Issue 126283002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed extra space Created 6 years, 11 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/quic/quic_headers_stream.h ('k') | net/quic/quic_packet_creator.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_QUIC_QUIC_HTTP_STREAM_H_ 5 #ifndef NET_QUIC_QUIC_HTTP_STREAM_H_
6 #define NET_QUIC_QUIC_HTTP_STREAM_H_ 6 #define NET_QUIC_QUIC_HTTP_STREAM_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 11 matching lines...) Expand all
22 // The QuicHttpStream is a QUIC-specific HttpStream subclass. It holds a 22 // The QuicHttpStream is a QUIC-specific HttpStream subclass. It holds a
23 // non-owning pointer to a QuicReliableClientStream which it uses to 23 // non-owning pointer to a QuicReliableClientStream which it uses to
24 // send and receive data. 24 // send and receive data.
25 class NET_EXPORT_PRIVATE QuicHttpStream : 25 class NET_EXPORT_PRIVATE QuicHttpStream :
26 public QuicClientSession::Observer, 26 public QuicClientSession::Observer,
27 public QuicReliableClientStream::Delegate, 27 public QuicReliableClientStream::Delegate,
28 public HttpStream { 28 public HttpStream {
29 public: 29 public:
30 explicit QuicHttpStream(const base::WeakPtr<QuicClientSession>& session); 30 explicit QuicHttpStream(const base::WeakPtr<QuicClientSession>& session);
31 31
32 virtual ~QuicHttpStream(); 32 virtual ~QuicHttpStream() OVERRIDE;
33 33
34 // HttpStream implementation. 34 // HttpStream implementation.
35 virtual int InitializeStream(const HttpRequestInfo* request_info, 35 virtual int InitializeStream(const HttpRequestInfo* request_info,
36 RequestPriority priority, 36 RequestPriority priority,
37 const BoundNetLog& net_log, 37 const BoundNetLog& net_log,
38 const CompletionCallback& callback) OVERRIDE; 38 const CompletionCallback& callback) OVERRIDE;
39 virtual int SendRequest(const HttpRequestHeaders& request_headers, 39 virtual int SendRequest(const HttpRequestHeaders& request_headers,
40 HttpResponseInfo* response, 40 HttpResponseInfo* response,
41 const CompletionCallback& callback) OVERRIDE; 41 const CompletionCallback& callback) OVERRIDE;
42 virtual UploadProgress GetUploadProgress() const OVERRIDE; 42 virtual UploadProgress GetUploadProgress() const OVERRIDE;
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 scoped_refptr<DrainableIOBuffer> request_body_buf_; 158 scoped_refptr<DrainableIOBuffer> request_body_buf_;
159 159
160 BoundNetLog stream_net_log_; 160 BoundNetLog stream_net_log_;
161 161
162 base::WeakPtrFactory<QuicHttpStream> weak_factory_; 162 base::WeakPtrFactory<QuicHttpStream> weak_factory_;
163 }; 163 };
164 164
165 } // namespace net 165 } // namespace net
166 166
167 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ 167 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_headers_stream.h ('k') | net/quic/quic_packet_creator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698