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

Unified Diff: blimp/net/stream_socket_connection.cc

Issue 2248943003: Disable zlib compression in Blimp until crbug.com/637376 fixed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/stream_socket_connection.cc
diff --git a/blimp/net/stream_socket_connection.cc b/blimp/net/stream_socket_connection.cc
index bd0fad651ca114716bd46a386e15a2f30efa6e0c..9faa2011a43293b655027751f17726d9a3a1e73a 100644
--- a/blimp/net/stream_socket_connection.cc
+++ b/blimp/net/stream_socket_connection.cc
@@ -14,12 +14,12 @@
namespace blimp {
+// TODO(kmarshall): Re-enable CompressedPacket(Reader|Writer)
+// after zlib bug in crbug.com/r637376 is resolved.
StreamSocketConnection::StreamSocketConnection(
std::unique_ptr<net::StreamSocket> socket)
- : BlimpConnection(base::MakeUnique<CompressedPacketReader>(
- base::MakeUnique<StreamPacketReader>(socket.get())),
- base::MakeUnique<CompressedPacketWriter>(
- base::MakeUnique<StreamPacketWriter>(socket.get()))),
+ : BlimpConnection(base::MakeUnique<StreamPacketReader>(socket.get()),
+ base::MakeUnique<StreamPacketWriter>(socket.get())),
socket_(std::move(socket)) {
DCHECK(socket_);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698