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

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

Issue 185203003: Killing off QUICv12, including cleaning out all of the code for handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Deleted unused StripUint32 Created 6 years, 10 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_server_session_test.cc ('k') | net/tools/quic/quic_spdy_server_stream.cc » ('j') | 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 9e88305f36e99c580d68677c618ab94d228a970d..1dfee9081cdc0bcbddbaa8aa70ca081e52833bb9 100644
--- a/net/tools/quic/quic_spdy_client_stream.cc
+++ b/net/tools/quic/quic_spdy_client_stream.cc
@@ -82,16 +82,8 @@ ssize_t QuicSpdyClientStream::SendRequest(const BalsaHeaders& headers,
bool send_fin_with_headers = fin && body.empty();
size_t bytes_sent = body.size();
- if (version() > QUIC_VERSION_12) {
- header_bytes_written_ = WriteHeaders(header_block, send_fin_with_headers);
- bytes_sent += header_bytes_written_;
- } else {
- string headers_string =
- session()->compressor()->CompressHeadersWithPriority(
- priority(), header_block);
- WriteOrBufferData(headers_string, send_fin_with_headers);
- bytes_sent += headers_string.length();
- }
+ header_bytes_written_ = WriteHeaders(header_block, send_fin_with_headers);
+ bytes_sent += header_bytes_written_;
if (!body.empty()) {
WriteOrBufferData(body, fin);
« no previous file with comments | « net/tools/quic/quic_server_session_test.cc ('k') | net/tools/quic/quic_spdy_server_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698