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

Unified Diff: net/spdy/spdy_http_stream.h

Issue 8230037: Send PING to check the status of the SPDY connection. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 2 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_http_stream.h
===================================================================
--- net/spdy/spdy_http_stream.h (revision 104856)
+++ net/spdy/spdy_http_stream.h (working copy)
@@ -86,6 +86,8 @@
private:
FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, FlowControlStallResume);
+ void CheckPingResponse();
+
// Call the user callback.
void DoCallback(int rv);
@@ -96,6 +98,7 @@
bool ShouldWaitForMoreBufferedData() const;
ScopedRunnableMethodFactory<SpdyHttpStream> read_callback_factory_;
+ ScopedRunnableMethodFactory<SpdyHttpStream> ping_method_factory_;
scoped_refptr<SpdyStream> stream_;
scoped_refptr<SpdySession> spdy_session_;

Powered by Google App Engine
This is Rietveld 408576698