| Index: trunk/src/net/spdy/spdy_stream_test_util.cc
|
| ===================================================================
|
| --- trunk/src/net/spdy/spdy_stream_test_util.cc (revision 194561)
|
| +++ trunk/src/net/spdy/spdy_stream_test_util.cc (working copy)
|
| @@ -37,7 +37,7 @@
|
|
|
| void ClosingDelegate::OnHeadersSent() {}
|
|
|
| -int ClosingDelegate::OnDataReceived(scoped_ptr<SpdyBuffer> buffer) {
|
| +int ClosingDelegate::OnDataReceived(const char* data, int length) {
|
| return OK;
|
| }
|
|
|
| @@ -77,11 +77,8 @@
|
| headers_sent_++;
|
| }
|
|
|
| -int StreamDelegateBase::OnDataReceived(scoped_ptr<SpdyBuffer> buffer) {
|
| - if (buffer) {
|
| - received_data_ += std::string(buffer->GetRemainingData(),
|
| - buffer->GetRemainingSize());
|
| - }
|
| +int StreamDelegateBase::OnDataReceived(const char* buffer, int bytes) {
|
| + received_data_ += std::string(buffer, bytes);
|
| return OK;
|
| }
|
|
|
|
|