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

Side by Side Diff: net/tools/quic/quic_simple_client.cc

Issue 1357953002: Replace the existing SpdyHeaderBlock typedef with a class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add NET_EXPORT to fix compile error on win_chromium_compile_dbg_ng. Created 5 years, 2 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/quic_client_bin.cc ('k') | net/tools/quic/quic_simple_client_bin.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 #include "net/tools/quic/quic_simple_client.h" 5 #include "net/tools/quic/quic_simple_client.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "base/thread_task_runner_handle.h" 9 #include "base/thread_task_runner_handle.h"
10 #include "net/base/net_errors.h" 10 #include "net/base/net_errors.h"
11 #include "net/http/http_request_info.h" 11 #include "net/http/http_request_info.h"
12 #include "net/http/http_response_info.h" 12 #include "net/http/http_response_info.h"
13 #include "net/quic/crypto/quic_random.h" 13 #include "net/quic/crypto/quic_random.h"
14 #include "net/quic/quic_connection.h" 14 #include "net/quic/quic_connection.h"
15 #include "net/quic/quic_connection_helper.h" 15 #include "net/quic/quic_connection_helper.h"
16 #include "net/quic/quic_default_packet_writer.h" 16 #include "net/quic/quic_default_packet_writer.h"
17 #include "net/quic/quic_flags.h" 17 #include "net/quic/quic_flags.h"
18 #include "net/quic/quic_protocol.h" 18 #include "net/quic/quic_protocol.h"
19 #include "net/quic/quic_server_id.h" 19 #include "net/quic/quic_server_id.h"
20 #include "net/quic/spdy_utils.h" 20 #include "net/quic/spdy_utils.h"
21 #include "net/spdy/spdy_header_block.h"
21 #include "net/spdy/spdy_http_utils.h" 22 #include "net/spdy/spdy_http_utils.h"
22 #include "net/udp/udp_client_socket.h" 23 #include "net/udp/udp_client_socket.h"
23 24
24 using std::string; 25 using std::string;
25 using std::vector; 26 using std::vector;
26 27
27 namespace net { 28 namespace net {
28 namespace tools { 29 namespace tools {
29 30
30 void QuicSimpleClient::ClientQuicDataToResend::Resend() { 31 void QuicSimpleClient::ClientQuicDataToResend::Resend() {
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 packet); 394 packet);
394 if (!session()->connection()->connected()) { 395 if (!session()->connection()->connected()) {
395 return false; 396 return false;
396 } 397 }
397 398
398 return true; 399 return true;
399 } 400 }
400 401
401 } // namespace tools 402 } // namespace tools
402 } // namespace net 403 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_client_bin.cc ('k') | net/tools/quic/quic_simple_client_bin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698