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

Unified Diff: net/spdy/spdy_framer.cc

Issue 10209012: Move SpdyFramer::set_enable_compression_default to BufferedSpdyFramer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move to BufferedSpdyFramer Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/spdy/spdy_framer.h ('k') | net/spdy/spdy_network_transaction_spdy2_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_framer.cc
diff --git a/net/spdy/spdy_framer.cc b/net/spdy/spdy_framer.cc
index 929bf15a6ebff59000fe33a79d88d789b3ed4d4a..573dfba7bbf56bc6a1eda10d2a0b065f7ebeb155 100644
--- a/net/spdy/spdy_framer.cc
+++ b/net/spdy/spdy_framer.cc
@@ -51,9 +51,6 @@ struct DictionaryIds {
// initialized lazily to avoid static initializers.
base::LazyInstance<DictionaryIds>::Leaky g_dictionary_ids;
-// By default is compression on or off.
-bool g_enable_compression_default = true;
-
} // namespace
const int SpdyFramer::kMinSpdyVersion = 2;
@@ -129,7 +126,7 @@ SpdyFramer::SpdyFramer(int version)
remaining_control_header_(0),
current_frame_buffer_(new char[kControlFrameBufferSize]),
current_frame_len_(0),
- enable_compression_(g_enable_compression_default),
+ enable_compression_(true),
visitor_(NULL),
display_protocol_("SPDY"),
spdy_version_(version),
@@ -1633,8 +1630,4 @@ void SpdyFramer::set_enable_compression(bool value) {
enable_compression_ = value;
}
-void SpdyFramer::set_enable_compression_default(bool value) {
- g_enable_compression_default = value;
-}
-
} // namespace net
« no previous file with comments | « net/spdy/spdy_framer.h ('k') | net/spdy/spdy_network_transaction_spdy2_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698