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

Unified Diff: net/spdy/spdy_session.h

Issue 2167253002: s/SYN_STREAM/HEADERS/ in frame types, method names, comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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/spdy_proxy_client_socket_unittest.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session.h
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h
index c942d4bce65512da74d2a62806fb9428af3cdb7c..20652c55c686af1cb14aa4e980679e44c5494134 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -362,11 +362,11 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface,
SpdyFrameType frame_type,
std::unique_ptr<SpdyBufferProducer> producer);
- // Creates and returns a SYN frame for |stream_id|.
- std::unique_ptr<SpdySerializedFrame> CreateSynStream(SpdyStreamId stream_id,
- RequestPriority priority,
- SpdyControlFlags flags,
- SpdyHeaderBlock headers);
+ // Creates and returns a HEADERS frame for |stream_id|.
+ std::unique_ptr<SpdySerializedFrame> CreateHeaders(SpdyStreamId stream_id,
+ RequestPriority priority,
+ SpdyControlFlags flags,
+ SpdyHeaderBlock headers);
// Creates and returns a SpdyBuffer holding a data frame with the
// given data. May return NULL if stalled by flow control.
@@ -605,7 +605,7 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface,
~ActiveStreamInfo();
SpdyStream* stream;
- bool waiting_for_syn_reply;
+ bool waiting_for_reply_headers_frame;
};
typedef std::map<SpdyStreamId, ActiveStreamInfo> ActiveStreamMap;
« no previous file with comments | « net/spdy/spdy_proxy_client_socket_unittest.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698