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

Unified Diff: net/spdy/spdy_session.h

Issue 10382107: Change the stream_id for streams which are serialized out of order. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments Created 8 years, 7 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_network_transaction_spdy3_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 439c0cc2919ee6c00697b807c4de29cd063ecc31..8e7bb93b6dedd27a42219376b9b4e27989f3b1aa 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -540,6 +540,8 @@ class NET_EXPORT SpdySession : public base::RefCounted<SpdySession>,
bool read_pending_;
int stream_hi_water_mark_; // The next stream id to use.
+ // The stream id of the last SYN_STREAM frame written on this session.
+ SpdyStreamId last_syn_stream_id_;
// Queue, for each priority, of pending Create Streams that have not
// yet been satisfied
@@ -687,6 +689,24 @@ class NetLogSpdySynParameter : public NetLog::EventParameters {
};
+class NetLogSpdySynRenumberParameter : public NetLog::EventParameters {
+ public:
+ NetLogSpdySynRenumberParameter(SpdyStreamId old_id,
+ SpdyStreamId new_id);
+
+ virtual base::Value* ToValue() const OVERRIDE;
+
+ protected:
+ virtual ~NetLogSpdySynRenumberParameter();
+
+ private:
+ const SpdyStreamId old_id_;
+ const SpdyStreamId new_id_;
+
+ DISALLOW_COPY_AND_ASSIGN(NetLogSpdySynRenumberParameter);
+};
+
+
class NetLogSpdyCredentialParameter : public NetLog::EventParameters {
public:
NetLogSpdyCredentialParameter(size_t slot, const std::string& origin);
« no previous file with comments | « net/spdy/spdy_network_transaction_spdy3_unittest.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698