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

Unified Diff: net/spdy/buffered_spdy_framer.cc

Issue 2169503002: Remove flip_server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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.h ('k') | net/tools/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/buffered_spdy_framer.cc
diff --git a/net/spdy/buffered_spdy_framer.cc b/net/spdy/buffered_spdy_framer.cc
index 3752f38ce697f2d82f92def42165907127c672f5..3eed70855c3b3cc5dfc96a7c792e046acc4ced26 100644
--- a/net/spdy/buffered_spdy_framer.cc
+++ b/net/spdy/buffered_spdy_framer.cc
@@ -321,33 +321,6 @@ bool BufferedSpdyFramer::HasError() {
}
// TODO(jgraettinger): Eliminate uses of this method (prefer
-// SpdySynStreamIR).
-SpdySerializedFrame* BufferedSpdyFramer::CreateSynStream(
- SpdyStreamId stream_id,
- SpdyStreamId associated_stream_id,
- SpdyPriority priority,
- SpdyControlFlags flags,
- SpdyHeaderBlock headers) {
- SpdySynStreamIR syn_stream(stream_id, std::move(headers));
- syn_stream.set_associated_to_stream_id(associated_stream_id);
- syn_stream.set_priority(priority);
- syn_stream.set_fin((flags & CONTROL_FLAG_FIN) != 0);
- syn_stream.set_unidirectional((flags & CONTROL_FLAG_UNIDIRECTIONAL) != 0);
- return new SpdySerializedFrame(spdy_framer_.SerializeSynStream(syn_stream));
-}
-
-// TODO(jgraettinger): Eliminate uses of this method (prefer
-// SpdySynReplyIR).
-SpdySerializedFrame* BufferedSpdyFramer::CreateSynReply(
- SpdyStreamId stream_id,
- SpdyControlFlags flags,
- SpdyHeaderBlock headers) {
- SpdySynReplyIR syn_reply(stream_id, std::move(headers));
- syn_reply.set_fin(flags & CONTROL_FLAG_FIN);
- return new SpdySerializedFrame(spdy_framer_.SerializeSynReply(syn_reply));
-}
-
-// TODO(jgraettinger): Eliminate uses of this method (prefer
// SpdyRstStreamIR).
SpdySerializedFrame* BufferedSpdyFramer::CreateRstStream(
SpdyStreamId stream_id,
« no previous file with comments | « net/spdy/buffered_spdy_framer.h ('k') | net/tools/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698