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

Unified Diff: net/spdy/spdy_framer.h

Issue 9689078: SPDY - unforked spdy_framer and spdy_protocol tests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
Index: net/spdy/spdy_framer.h
===================================================================
--- net/spdy/spdy_framer.h (revision 126410)
+++ net/spdy/spdy_framer.h (working copy)
@@ -38,21 +38,14 @@
class SpdyFramer;
class SpdyFrameBuilder;
-class SpdyFramerSpdy2Test;
-class SpdyFramerSpdy3Test;
+class SpdyFramerTest;
-namespace test_spdy2 {
+namespace test {
class TestSpdyVisitor;
-} // namespace test_spdy2
+} // namespace test
-namespace test_spdy3 {
-
-class TestSpdyVisitor;
-
-} // namespace test_spdy3
-
// A datastructure for holding a set of headers from either a
// SYN_STREAM or SYN_REPLY frame.
typedef std::map<std::string, std::string> SpdyHeaderBlock;
@@ -426,34 +419,20 @@
SpdyPriority GetHighestPriority() const { return 0; }
protected:
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy2Test, BasicCompression);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy2Test, ControlFrameSizesAreValidated);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy2Test, HeaderCompression);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy2Test, DecompressUncompressedFrame);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy2Test, ExpandBuffer_HeapSmash);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy2Test, HugeHeaderBlock);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy2Test, UnclosedStreamDataCompressors);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy2Test,
+ FRIEND_TEST_ALL_PREFIXES(SpdyFramerTest, BasicCompression);
+ FRIEND_TEST_ALL_PREFIXES(SpdyFramerTest, ControlFrameSizesAreValidated);
+ FRIEND_TEST_ALL_PREFIXES(SpdyFramerTest, HeaderCompression);
+ FRIEND_TEST_ALL_PREFIXES(SpdyFramerTest, DecompressUncompressedFrame);
+ FRIEND_TEST_ALL_PREFIXES(SpdyFramerTest, ExpandBuffer_HeapSmash);
+ FRIEND_TEST_ALL_PREFIXES(SpdyFramerTest, HugeHeaderBlock);
+ FRIEND_TEST_ALL_PREFIXES(SpdyFramerTest, UnclosedStreamDataCompressors);
+ FRIEND_TEST_ALL_PREFIXES(SpdyFramerTest,
UnclosedStreamDataCompressorsOneByteAtATime);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy2Test,
+ FRIEND_TEST_ALL_PREFIXES(SpdyFramerTest,
UncompressLargerThanFrameBufferInitialSize);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy2Test, ReadLargeSettingsFrame);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy2Test,
+ FRIEND_TEST_ALL_PREFIXES(SpdyFramerTest, ReadLargeSettingsFrame);
+ FRIEND_TEST_ALL_PREFIXES(SpdyFramerTest,
ReadLargeSettingsFrameInSmallChunks);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy3Test, BasicCompression);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy3Test, ControlFrameSizesAreValidated);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy3Test, HeaderCompression);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy3Test, DecompressUncompressedFrame);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy3Test, ExpandBuffer_HeapSmash);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy3Test, HugeHeaderBlock);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy3Test, UnclosedStreamDataCompressors);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy3Test,
- UnclosedStreamDataCompressorsOneByteAtATime);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy3Test,
- UncompressLargerThanFrameBufferInitialSize);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy3Test, ReadLargeSettingsFrame);
- FRIEND_TEST_ALL_PREFIXES(SpdyFramerSpdy3Test,
- ReadLargeSettingsFrameInSmallChunks);
friend class net::HttpNetworkLayer; // This is temporary for the server.
friend class net::HttpNetworkTransactionTest;
friend class net::HttpProxyClientSocketPoolTest;
@@ -464,8 +443,7 @@
friend class net::SpdyStreamTest;
friend class net::SpdyWebSocketStreamTest;
friend class net::WebSocketJobTest;
- friend class test_spdy2::TestSpdyVisitor;
- friend class test_spdy3::TestSpdyVisitor;
+ friend class test::TestSpdyVisitor;
private:
typedef std::map<SpdyStreamId, z_stream*> CompressorMap;
« no previous file with comments | « net/net.gyp ('k') | net/spdy/spdy_framer_spdy2_test.cc » ('j') | net/spdy/spdy_framer_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698