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

Unified Diff: net/spdy/buffered_spdy_framer_spdy2_unittest.cc

Issue 12256004: Remove SpdySynReplyControlFrame and SpdyGoAwayControlFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/buffered_spdy_framer.cc ('k') | net/spdy/buffered_spdy_framer_spdy3_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/buffered_spdy_framer_spdy2_unittest.cc
diff --git a/net/spdy/buffered_spdy_framer_spdy2_unittest.cc b/net/spdy/buffered_spdy_framer_spdy2_unittest.cc
index 5a1f72ff3159db7d03af040ae8366323e83a22ff..af317f1eec92143f547f2627e623ab8b7ab65e3f 100644
--- a/net/spdy/buffered_spdy_framer_spdy2_unittest.cc
+++ b/net/spdy/buffered_spdy_framer_spdy2_unittest.cc
@@ -107,7 +107,7 @@ class TestBufferedSpdyVisitor : public BufferedSpdyFramerVisitorInterface {
}
void OnRstStream(const SpdyRstStreamControlFrame& frame) {}
- void OnGoAway(const SpdyGoAwayControlFrame& frame) {}
+ void OnGoAway(const SpdyFrame& frame) {}
void OnPing(const SpdyPingControlFrame& frame) {}
virtual void OnWindowUpdate(SpdyStreamId stream_id,
int delta_window_size) OVERRIDE {
@@ -233,7 +233,7 @@ TEST_F(BufferedSpdyFramerSpdy2Test, ReadSynReplyHeaderBlock) {
headers["alpha"] = "beta";
headers["gamma"] = "delta";
BufferedSpdyFramer framer(2, true);
- scoped_ptr<SpdySynReplyControlFrame> control_frame(
+ scoped_ptr<SpdyFrame> control_frame(
framer.CreateSynReply(1, // stream_id
CONTROL_FLAG_NONE,
true, // compress
« no previous file with comments | « net/spdy/buffered_spdy_framer.cc ('k') | net/spdy/buffered_spdy_framer_spdy3_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698