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

Unified Diff: net/spdy/spdy_write_queue.h

Issue 13990005: [SPDY] Replace SpdyIOBuffer with new SpdyBuffer class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix missing include 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 | « net/spdy/spdy_websocket_stream_spdy3_unittest.cc ('k') | net/spdy/spdy_write_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_write_queue.h
diff --git a/net/spdy/spdy_write_queue.h b/net/spdy/spdy_write_queue.h
index 996fca7528e67a64a1214361b32154e8111ee2db..1b8f1b810144aa8292e35b2e0eaaf4f9371e0e96 100644
--- a/net/spdy/spdy_write_queue.h
+++ b/net/spdy/spdy_write_queue.h
@@ -16,10 +16,11 @@
namespace net {
-class SpdyFrameProducer;
+class SpdyBuffer;
+class SpdyBufferProducer;
class SpdyStream;
-// A queue of SpdyFrameProducers to produce frames to write. Ordered
+// A queue of SpdyBufferProducers to produce frames to write. Ordered
// by priority, and then FIFO.
class NET_EXPORT_PRIVATE SpdyWriteQueue {
public:
@@ -32,7 +33,7 @@ class NET_EXPORT_PRIVATE SpdyWriteQueue {
// is non-NULL, its priority must be equal to |priority|.
void Enqueue(RequestPriority priority,
SpdyFrameType frame_type,
- scoped_ptr<SpdyFrameProducer> frame_producer,
+ scoped_ptr<SpdyBufferProducer> frame_producer,
const scoped_refptr<SpdyStream>& stream);
// Dequeues the frame producer with the highest priority that was
@@ -40,7 +41,7 @@ class NET_EXPORT_PRIVATE SpdyWriteQueue {
// fills in |frame_type|, |frame_producer|, and |stream| if
// successful -- otherwise, just returns false.
bool Dequeue(SpdyFrameType* frame_type,
- scoped_ptr<SpdyFrameProducer>* frame_producer,
+ scoped_ptr<SpdyBufferProducer>* frame_producer,
scoped_refptr<SpdyStream>* stream);
// Removes all pending writes for the given stream, which must be
@@ -56,12 +57,12 @@ class NET_EXPORT_PRIVATE SpdyWriteQueue {
SpdyFrameType frame_type;
// This has to be a raw pointer since we store this in an STL
// container.
- SpdyFrameProducer* frame_producer;
+ SpdyBufferProducer* frame_producer;
scoped_refptr<SpdyStream> stream;
PendingWrite();
PendingWrite(SpdyFrameType frame_type,
- SpdyFrameProducer* frame_producer,
+ SpdyBufferProducer* frame_producer,
const scoped_refptr<SpdyStream>& stream);
~PendingWrite();
};
« no previous file with comments | « net/spdy/spdy_websocket_stream_spdy3_unittest.cc ('k') | net/spdy/spdy_write_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698