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

Side by Side Diff: net/tools/quic/test_tools/quic_test_client.h

Issue 1006193003: Remove Balsa from QuicSpdyClientStream. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 5 years, 9 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
« no previous file with comments | « net/tools/quic/spdy_utils.cc ('k') | net/tools/quic/test_tools/quic_test_client.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_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_ 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_
6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_ 6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 private: 179 private:
180 EpollServer epoll_server_; 180 EpollServer epoll_server_;
181 scoped_ptr<MockableQuicClient> client_; // The actual client 181 scoped_ptr<MockableQuicClient> client_; // The actual client
182 QuicSpdyClientStream* stream_; 182 QuicSpdyClientStream* stream_;
183 183
184 QuicRstStreamErrorCode stream_error_; 184 QuicRstStreamErrorCode stream_error_;
185 185
186 bool response_complete_; 186 bool response_complete_;
187 bool response_headers_complete_; 187 bool response_headers_complete_;
188 BalsaHeaders headers_; 188 mutable BalsaHeaders headers_;
189 QuicPriority priority_; 189 QuicPriority priority_;
190 std::string response_; 190 std::string response_;
191 uint64 bytes_read_; 191 uint64 bytes_read_;
192 uint64 bytes_written_; 192 uint64 bytes_written_;
193 // The number of uncompressed HTTP header bytes received. 193 // The number of uncompressed HTTP header bytes received.
194 int response_header_size_; 194 int response_header_size_;
195 // The number of HTTP body bytes received. 195 // The number of HTTP body bytes received.
196 int64 response_body_size_; 196 int64 response_body_size_;
197 // True if we tried to connect already since the last call to Disconnect(). 197 // True if we tried to connect already since the last call to Disconnect().
198 bool connect_attempted_; 198 bool connect_attempted_;
(...skipping 12 matching lines...) Expand all
211 211
212 DISALLOW_COPY_AND_ASSIGN(QuicTestClient); 212 DISALLOW_COPY_AND_ASSIGN(QuicTestClient);
213 }; 213 };
214 214
215 } // namespace test 215 } // namespace test
216 216
217 } // namespace tools 217 } // namespace tools
218 } // namespace net 218 } // namespace net
219 219
220 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_ 220 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_TEST_CLIENT_H_
OLDNEW
« no previous file with comments | « net/tools/quic/spdy_utils.cc ('k') | net/tools/quic/test_tools/quic_test_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698