diff options
author | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-04 15:52:09 +0000 |
---|---|---|
committer | rch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-04 15:52:09 +0000 |
commit | f9cf5577f3dc6bfb03b411115c7c983211be2f3a (patch) | |
tree | 49d8554a8403ad90f24c975d9c4e9842697dd0c8 /net/spdy/buffered_spdy_framer.h | |
parent | fb9150c1718be8f34ab9d932a2f5d4a4830e574a (diff) | |
download | chromium_src-f9cf5577f3dc6bfb03b411115c7c983211be2f3a.zip chromium_src-f9cf5577f3dc6bfb03b411115c7c983211be2f3a.tar.gz chromium_src-f9cf5577f3dc6bfb03b411115c7c983211be2f3a.tar.bz2 |
Move a number of static variables SPDY to HttpNetworkSession::Params. Simplifies the creation of HttpNetworkSession::Params in IOThread by creating a method to do just that. Fixes a bug in chrome/browser/profiles/profile_io_data.cc where some of the Globals were not being consulted when the HttpNetworkSession was constructed.
BUG=162571
Review URL: https://chromiumcodereview.appspot.com/11415219
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170967 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/buffered_spdy_framer.h')
-rw-r--r-- | net/spdy/buffered_spdy_framer.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/spdy/buffered_spdy_framer.h b/net/spdy/buffered_spdy_framer.h index aa4163e..ea64151 100644 --- a/net/spdy/buffered_spdy_framer.h +++ b/net/spdy/buffered_spdy_framer.h @@ -92,7 +92,8 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramerVisitorInterface { class NET_EXPORT_PRIVATE BufferedSpdyFramer : public SpdyFramerVisitorInterface { public: - explicit BufferedSpdyFramer(int version); + BufferedSpdyFramer(int version, + bool enable_compression); virtual ~BufferedSpdyFramer(); // Sets callbacks to be called from the buffered spdy framer. A visitor must @@ -178,8 +179,6 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramer SpdyDataFlags flags); SpdyPriority GetHighestPriority() const; bool IsCompressible(const SpdyFrame& frame) const; - // Specify if newly created SpdySessions should have compression enabled. - static void set_enable_compression_default(bool value); int frames_received() const { return frames_received_; } |