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

Unified Diff: net/tools/quic/quic_client.cc

Issue 1980663003: Add a new QUIC ChloExtractor class used by the QuicProxyDispatcher to extract CHLO message from pac… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@121403250
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« net/quic/quic_flags.h ('K') | « net/tools/quic/chlo_extractor_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client.cc
diff --git a/net/tools/quic/quic_client.cc b/net/tools/quic/quic_client.cc
index ca015ac6556a2f02e6fb2ada6e31ba8ec2fe1ce8..4380b57e2806b82a84b3233b921662aa2fc4bb4e 100644
--- a/net/tools/quic/quic_client.cc
+++ b/net/tools/quic/quic_client.cc
@@ -463,17 +463,17 @@ size_t QuicClient::latest_response_code() const {
return latest_response_code_;
}
-const string& QuicClient::latest_response_headers() const {
+const std::string& QuicClient::latest_response_headers() const {
Ryan Hamilton 2016/05/13 20:27:09 Can we do using std::string instead?
Buck 2016/05/13 21:25:55 Done.
QUIC_BUG_IF(!store_response_) << "Response not stored!";
return latest_response_headers_;
}
-const string& QuicClient::latest_response_body() const {
+const std::string& QuicClient::latest_response_body() const {
QUIC_BUG_IF(!store_response_) << "Response not stored!";
return latest_response_body_;
}
-const string& QuicClient::latest_response_trailers() const {
+const std::string& QuicClient::latest_response_trailers() const {
QUIC_BUG_IF(!store_response_) << "Response not stored!";
return latest_response_trailers_;
}
« net/quic/quic_flags.h ('K') | « net/tools/quic/chlo_extractor_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698