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

Unified Diff: trunk/src/net/spdy/spdy_write_queue.cc

Issue 13996009: Revert 194560 "[SPDY] Replace SpdyIOBuffer with new SpdyBuffer c..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 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 | « trunk/src/net/spdy/spdy_write_queue.h ('k') | trunk/src/net/spdy/spdy_write_queue_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/spdy/spdy_write_queue.cc
===================================================================
--- trunk/src/net/spdy/spdy_write_queue.cc (revision 194561)
+++ trunk/src/net/spdy/spdy_write_queue.cc (working copy)
@@ -7,8 +7,7 @@
#include <cstddef>
#include "base/logging.h"
-#include "net/spdy/spdy_buffer.h"
-#include "net/spdy/spdy_buffer_producer.h"
+#include "net/spdy/spdy_frame_producer.h"
#include "net/spdy/spdy_stream.h"
namespace net {
@@ -17,7 +16,7 @@
SpdyWriteQueue::PendingWrite::PendingWrite(
SpdyFrameType frame_type,
- SpdyBufferProducer* frame_producer,
+ SpdyFrameProducer* frame_producer,
const scoped_refptr<SpdyStream>& stream)
: frame_type(frame_type),
frame_producer(frame_producer),
@@ -33,7 +32,7 @@
void SpdyWriteQueue::Enqueue(RequestPriority priority,
SpdyFrameType frame_type,
- scoped_ptr<SpdyBufferProducer> frame_producer,
+ scoped_ptr<SpdyFrameProducer> frame_producer,
const scoped_refptr<SpdyStream>& stream) {
if (stream.get()) {
DCHECK_EQ(stream->priority(), priority);
@@ -43,7 +42,7 @@
}
bool SpdyWriteQueue::Dequeue(SpdyFrameType* frame_type,
- scoped_ptr<SpdyBufferProducer>* frame_producer,
+ scoped_ptr<SpdyFrameProducer>* frame_producer,
scoped_refptr<SpdyStream>* stream) {
for (int i = NUM_PRIORITIES - 1; i >= 0; --i) {
if (!queue_[i].empty()) {
« no previous file with comments | « trunk/src/net/spdy/spdy_write_queue.h ('k') | trunk/src/net/spdy/spdy_write_queue_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698