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

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

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_websocket_stream_spdy3_unittest.cc ('k') | trunk/src/net/spdy/spdy_write_queue.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.h
===================================================================
--- trunk/src/net/spdy/spdy_write_queue.h (revision 194561)
+++ trunk/src/net/spdy/spdy_write_queue.h (working copy)
@@ -16,11 +16,10 @@
namespace net {
-class SpdyBuffer;
-class SpdyBufferProducer;
+class SpdyFrameProducer;
class SpdyStream;
-// A queue of SpdyBufferProducers to produce frames to write. Ordered
+// A queue of SpdyFrameProducers to produce frames to write. Ordered
// by priority, and then FIFO.
class NET_EXPORT_PRIVATE SpdyWriteQueue {
public:
@@ -33,7 +32,7 @@
// is non-NULL, its priority must be equal to |priority|.
void Enqueue(RequestPriority priority,
SpdyFrameType frame_type,
- scoped_ptr<SpdyBufferProducer> frame_producer,
+ scoped_ptr<SpdyFrameProducer> frame_producer,
const scoped_refptr<SpdyStream>& stream);
// Dequeues the frame producer with the highest priority that was
@@ -41,7 +40,7 @@
// fills in |frame_type|, |frame_producer|, and |stream| if
// successful -- otherwise, just returns false.
bool Dequeue(SpdyFrameType* frame_type,
- scoped_ptr<SpdyBufferProducer>* frame_producer,
+ scoped_ptr<SpdyFrameProducer>* frame_producer,
scoped_refptr<SpdyStream>* stream);
// Removes all pending writes for the given stream, which must be
@@ -57,12 +56,12 @@
SpdyFrameType frame_type;
// This has to be a raw pointer since we store this in an STL
// container.
- SpdyBufferProducer* frame_producer;
+ SpdyFrameProducer* frame_producer;
scoped_refptr<SpdyStream> stream;
PendingWrite();
PendingWrite(SpdyFrameType frame_type,
- SpdyBufferProducer* frame_producer,
+ SpdyFrameProducer* frame_producer,
const scoped_refptr<SpdyStream>& stream);
~PendingWrite();
};
« no previous file with comments | « trunk/src/net/spdy/spdy_websocket_stream_spdy3_unittest.cc ('k') | trunk/src/net/spdy/spdy_write_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698