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

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

Issue 2820423002: Move quic_flags.h from net/quic/core to net/quic/platform and split into api and impl. (Closed)
Patch Set: Created 3 years, 8 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/platform/impl/quic_socket_utils.cc ('k') | net/tools/quic/quic_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) 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
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
OLDNEW
« no previous file with comments | « net/tools/quic/platform/impl/quic_socket_utils.cc ('k') | net/tools/quic/quic_client_bin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698