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

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

Issue 2547583002: Landing Recent QUIC changes until Fri Nov 18 23:21:04 2016 +0000 (Closed)
Patch Set: Remove explicit HTTP/2 enum usage Created 4 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
« no previous file with comments | « net/tools/quic/quic_client_base.cc ('k') | net/tools/quic/quic_client_session.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 // A binary wrapper for QuicClient. 5 // A binary wrapper for QuicClient.
6 // Connects to a host using QUIC, sends a request to the provided URL, and 6 // Connects to a host using QUIC, sends a request to the provided URL, and
7 // displays the response. 7 // displays the response.
8 // 8 //
9 // Some usage examples: 9 // Some usage examples:
10 // 10 //
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "base/strings/string_split.h" 48 #include "base/strings/string_split.h"
49 #include "base/strings/string_util.h" 49 #include "base/strings/string_util.h"
50 #include "base/strings/stringprintf.h" 50 #include "base/strings/stringprintf.h"
51 #include "net/base/net_errors.h" 51 #include "net/base/net_errors.h"
52 #include "net/base/privacy_mode.h" 52 #include "net/base/privacy_mode.h"
53 #include "net/cert/cert_verifier.h" 53 #include "net/cert/cert_verifier.h"
54 #include "net/cert/multi_log_ct_verifier.h" 54 #include "net/cert/multi_log_ct_verifier.h"
55 #include "net/http/transport_security_state.h" 55 #include "net/http/transport_security_state.h"
56 #include "net/quic/chromium/crypto/proof_verifier_chromium.h" 56 #include "net/quic/chromium/crypto/proof_verifier_chromium.h"
57 #include "net/quic/core/quic_flags.h" 57 #include "net/quic/core/quic_flags.h"
58 #include "net/quic/core/quic_protocol.h" 58 #include "net/quic/core/quic_packets.h"
59 #include "net/quic/core/quic_server_id.h" 59 #include "net/quic/core/quic_server_id.h"
60 #include "net/quic/core/quic_utils.h" 60 #include "net/quic/core/quic_utils.h"
61 #include "net/quic/platform/api/quic_socket_address.h" 61 #include "net/quic/platform/api/quic_socket_address.h"
62 #include "net/spdy/spdy_header_block.h" 62 #include "net/spdy/spdy_header_block.h"
63 #include "net/tools/epoll_server/epoll_server.h" 63 #include "net/tools/epoll_server/epoll_server.h"
64 #include "net/tools/quic/quic_client.h" 64 #include "net/tools/quic/quic_client.h"
65 #include "net/tools/quic/synchronous_host_resolver.h" 65 #include "net/tools/quic/synchronous_host_resolver.h"
66 #include "url/gurl.h" 66 #include "url/gurl.h"
67 67
68 using base::StringPiece; 68 using base::StringPiece;
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 return 0; 368 return 0;
369 } else { 369 } else {
370 cout << "Request failed (redirect " << response_code << ")." << endl; 370 cout << "Request failed (redirect " << response_code << ")." << endl;
371 return 1; 371 return 1;
372 } 372 }
373 } else { 373 } else {
374 cerr << "Request failed (" << response_code << ")." << endl; 374 cerr << "Request failed (" << response_code << ")." << endl;
375 return 1; 375 return 1;
376 } 376 }
377 } 377 }
OLDNEW
« no previous file with comments | « net/tools/quic/quic_client_base.cc ('k') | net/tools/quic/quic_client_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698