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

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

Issue 2100213002: Make QuicSpdyStream::ParseHeaderStatusCode() inparam const. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « net/tools/quic/quic_simple_server_stream.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_spdy_client_stream.cc
diff --git a/net/tools/quic/quic_spdy_client_stream.cc b/net/tools/quic/quic_spdy_client_stream.cc
index 633963ae8ece7226d5928fc30f8f4b31e46b1740..d695deb3219f6e382d9af8beea2b6262327702c5 100644
--- a/net/tools/quic/quic_spdy_client_stream.cc
+++ b/net/tools/quic/quic_spdy_client_stream.cc
@@ -55,7 +55,7 @@ void QuicSpdyClientStream::OnInitialHeadersComplete(bool fin,
return;
}
- if (!ParseHeaderStatusCode(&response_headers_, &response_code_)) {
+ if (!ParseHeaderStatusCode(response_headers_, &response_code_)) {
DLOG(ERROR) << "Received invalid response code: "
<< response_headers_[":status"].as_string();
Reset(QUIC_BAD_APPLICATION_PAYLOAD);
@@ -83,7 +83,7 @@ void QuicSpdyClientStream::OnInitialHeadersComplete(
return;
}
- if (!ParseHeaderStatusCode(&response_headers_, &response_code_)) {
+ if (!ParseHeaderStatusCode(response_headers_, &response_code_)) {
DLOG(ERROR) << "Received invalid response code: "
<< response_headers_[":status"].as_string();
Reset(QUIC_BAD_APPLICATION_PAYLOAD);
« no previous file with comments | « net/tools/quic/quic_simple_server_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698