| Index: net/spdy/buffered_spdy_framer_spdy3_unittest.cc
|
| diff --git a/net/spdy/buffered_spdy_framer_spdy3_unittest.cc b/net/spdy/buffered_spdy_framer_spdy3_unittest.cc
|
| index e18c688beb7a4af7f62c7da47c230a35af9bba67..27f871739c04a811d6f525e63a3e15b249df1370 100644
|
| --- a/net/spdy/buffered_spdy_framer_spdy3_unittest.cc
|
| +++ b/net/spdy/buffered_spdy_framer_spdy3_unittest.cc
|
| @@ -143,10 +143,6 @@ class TestBufferedSpdyVisitor : public BufferedSpdyFramerVisitorInterface {
|
|
|
| class BufferedSpdyFramerSpdy3Test : public PlatformTest {
|
| protected:
|
| - void EnableCompression(bool enabled) {
|
| - SpdyFramer::set_enable_compression_default(enabled);
|
| - }
|
| -
|
| // Returns true if the two header blocks have equivalent content.
|
| bool CompareHeaderBlocks(const SpdyHeaderBlock* expected,
|
| const SpdyHeaderBlock* actual) {
|
| @@ -173,11 +169,12 @@ class BufferedSpdyFramerSpdy3Test : public PlatformTest {
|
| }
|
| return true;
|
| }
|
| +
|
| + private:
|
| + SpdyTestStateHelper spdy_state_;
|
| };
|
|
|
| TEST_F(BufferedSpdyFramerSpdy3Test, OnSetting) {
|
| - EnableCompression(false);
|
| -
|
| SpdyFramer framer(3);
|
| SpdySettings settings;
|
| settings.push_back(SpdySetting(SettingsFlagsAndId(0, 1), 0x00000002));
|
| @@ -194,8 +191,6 @@ TEST_F(BufferedSpdyFramerSpdy3Test, OnSetting) {
|
| }
|
|
|
| TEST_F(BufferedSpdyFramerSpdy3Test, ReadSynStreamHeaderBlock) {
|
| - EnableCompression(false);
|
| -
|
| SpdyHeaderBlock headers;
|
| headers["aa"] = "vv";
|
| headers["bb"] = "ww";
|
| @@ -221,8 +216,6 @@ TEST_F(BufferedSpdyFramerSpdy3Test, ReadSynStreamHeaderBlock) {
|
| }
|
|
|
| TEST_F(BufferedSpdyFramerSpdy3Test, ReadSynReplyHeaderBlock) {
|
| - EnableCompression(false);
|
| -
|
| SpdyHeaderBlock headers;
|
| headers["alpha"] = "beta";
|
| headers["gamma"] = "delta";
|
| @@ -246,8 +239,6 @@ TEST_F(BufferedSpdyFramerSpdy3Test, ReadSynReplyHeaderBlock) {
|
| }
|
|
|
| TEST_F(BufferedSpdyFramerSpdy3Test, ReadHeadersHeaderBlock) {
|
| - EnableCompression(false);
|
| -
|
| SpdyHeaderBlock headers;
|
| headers["alpha"] = "beta";
|
| headers["gamma"] = "delta";
|
|
|