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

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

Issue 12253020: Enhance net internals/net log output for QUIC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix use after free Created 7 years, 10 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_client_session_test.cc ('k') | net/quic/quic_http_stream.cc » ('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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 // Caller provided buffer for the ReadResponseBody() response. 132 // Caller provided buffer for the ReadResponseBody() response.
133 scoped_refptr<IOBuffer> user_buffer_; 133 scoped_refptr<IOBuffer> user_buffer_;
134 int user_buffer_len_; 134 int user_buffer_len_;
135 135
136 // Temporary buffer used to read the request body from UploadDataStream. 136 // Temporary buffer used to read the request body from UploadDataStream.
137 scoped_refptr<IOBufferWithSize> raw_request_body_buf_; 137 scoped_refptr<IOBufferWithSize> raw_request_body_buf_;
138 // Wraps raw_request_body_buf_ to read the remaining data progressively. 138 // Wraps raw_request_body_buf_ to read the remaining data progressively.
139 scoped_refptr<DrainableIOBuffer> request_body_buf_; 139 scoped_refptr<DrainableIOBuffer> request_body_buf_;
140 140
141 BoundNetLog stream_net_log_;
142
141 base::WeakPtrFactory<QuicHttpStream> weak_factory_; 143 base::WeakPtrFactory<QuicHttpStream> weak_factory_;
142 }; 144 };
143 145
144 } // namespace net 146 } // namespace net
145 147
146 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_ 148 #endif // NET_QUIC_QUIC_HTTP_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_client_session_test.cc ('k') | net/quic/quic_http_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698