[SPDY] Change SpdyStream::QueueStreamData() To SendStreamData()

Change its semantics so that it holds a reference to the passed-in data
and calls back to the delegate only when all the data has been sent.

Fix bug where flow control wouldn't work for non-HTTP streams. Now it
just queues up the next data frame (which must exist, since it must
have been trying to send something when it got stalled).

Remove now-redundant bytes_sent parameters from SpdyStream::Delegate
methods.

Remove now-redundant DrainableIOBuffer member variable in SpdyHttpStream.

Remove now-redundant logic in SpdyProxyClientSocket to split up data to
send into frames.

Add SpdyStream tests for sending large blobs of data.

Enable bidirectional flow control tests for SpdyStream.

BUG=242288

Review URL: https://chromiumcodereview.appspot.com/15740018

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201828 0039d316-1c4b-4281-b951-d872f2087c98
13 files changed