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

Unified Diff: net/spdy/spdy_stream.h

Issue 15967002: [SPDY] Remove more code related to sending HEADERS frames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few fixes Created 7 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_proxy_client_socket.cc ('k') | net/spdy/spdy_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_stream.h
diff --git a/net/spdy/spdy_stream.h b/net/spdy/spdy_stream.h
index c2c9dcca3096333951b00da70ea10126b4592893..ebeb042f131027a98375245f5418af1347a1ec08 100644
--- a/net/spdy/spdy_stream.h
+++ b/net/spdy/spdy_stream.h
@@ -83,9 +83,6 @@ class NET_EXPORT_PRIVATE SpdyStream {
base::Time response_time,
int status) = 0;
- // Called when a HEADERS frame is sent.
- virtual void OnHeadersSent() = 0;
-
// Called when data is received. |buffer| may be NULL, which
// signals EOF. Must return OK if the data was received
// successfully, or a network error code otherwise.
@@ -377,6 +374,13 @@ class NET_EXPORT_PRIVATE SpdyStream {
int DoReadHeadersComplete(int result);
int DoOpen();
+ // Does the bookkeeping necessary after a frame has just been
+ // sent. If there's more data to be sent, |state_| is set to
+ // |io_pending_state|, the next frame is queued up, and
+ // ERR_IO_PENDING is returned. Otherwise, returns OK if successful
+ // or an error if not.
+ int ProcessJustCompletedFrame(int result, State io_pending_state);
+
// Update the histograms. Can safely be called repeatedly, but should only
// be called after the stream has completed.
void UpdateHistograms();
« no previous file with comments | « net/spdy/spdy_proxy_client_socket.cc ('k') | net/spdy/spdy_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698