| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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_client_base.h" | 5 #include "net/tools/quic/quic_client_base.h" |
| 6 | 6 |
| 7 #include "net/quic/core/crypto/quic_random.h" | 7 #include "net/quic/core/crypto/quic_random.h" |
| 8 #include "net/quic/core/quic_flags.h" | |
| 9 #include "net/quic/core/quic_server_id.h" | 8 #include "net/quic/core/quic_server_id.h" |
| 10 #include "net/quic/core/spdy_utils.h" | 9 #include "net/quic/core/spdy_utils.h" |
| 10 #include "net/quic/platform/api/quic_flags.h" |
| 11 #include "net/quic/platform/api/quic_logging.h" | 11 #include "net/quic/platform/api/quic_logging.h" |
| 12 #include "net/quic/platform/api/quic_text_utils.h" | 12 #include "net/quic/platform/api/quic_text_utils.h" |
| 13 | 13 |
| 14 using base::StringToInt; | 14 using base::StringToInt; |
| 15 using std::string; | 15 using std::string; |
| 16 | 16 |
| 17 namespace net { | 17 namespace net { |
| 18 | 18 |
| 19 void QuicClientBase::ClientQuicDataToResend::Resend() { | 19 void QuicClientBase::ClientQuicDataToResend::Resend() { |
| 20 client_->SendRequest(*headers_, body_, fin_); | 20 client_->SendRequest(*headers_, body_, fin_); |
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 QUIC_BUG_IF(!store_response_) << "Response not stored!"; | 485 QUIC_BUG_IF(!store_response_) << "Response not stored!"; |
| 486 return latest_response_body_; | 486 return latest_response_body_; |
| 487 } | 487 } |
| 488 | 488 |
| 489 const string& QuicClientBase::latest_response_trailers() const { | 489 const string& QuicClientBase::latest_response_trailers() const { |
| 490 QUIC_BUG_IF(!store_response_) << "Response not stored!"; | 490 QUIC_BUG_IF(!store_response_) << "Response not stored!"; |
| 491 return latest_response_trailers_; | 491 return latest_response_trailers_; |
| 492 } | 492 } |
| 493 | 493 |
| 494 } // namespace net | 494 } // namespace net |
| OLD | NEW |