Index: net/spdy/spdy_io_buffer.h |
diff --git a/net/spdy/spdy_io_buffer.h b/net/spdy/spdy_io_buffer.h |
index 0aaced31eb8e87ee6a5b1a2883833d80c07a8772..05ec59ccb1f4cfa1427f48fc3fe2affbe514ce3a 100644 |
--- a/net/spdy/spdy_io_buffer.h |
+++ b/net/spdy/spdy_io_buffer.h |
@@ -9,10 +9,12 @@ |
#include "base/memory/ref_counted.h" |
#include "net/base/io_buffer.h" |
#include "net/base/net_export.h" |
-#include "net/spdy/spdy_stream.h" |
+#include "net/base/request_priority.h" |
namespace net { |
+class SpdyStream; |
+ |
// A class for managing SPDY IO buffers. These buffers need to be prioritized |
// so that the SpdySession sends them in the right order. Further, they need |
// to track the SpdyStream which they are associated with so that incremental |
@@ -26,8 +28,14 @@ class NET_EXPORT_PRIVATE SpdyIOBuffer { |
// |stream| is a pointer to the stream which is managing this buffer. |
SpdyIOBuffer(IOBuffer* buffer, int size, RequestPriority priority, |
SpdyStream* stream); |
+ // Declare this instead of using the default so that we avoid needing to |
+ // include spdy_stream.h. |
+ SpdyIOBuffer(const SpdyIOBuffer& rhs); |
SpdyIOBuffer(); |
~SpdyIOBuffer(); |
+ // Declare this instead of using the default so that we avoid needing to |
+ // include spdy_stream.h. |
+ SpdyIOBuffer& operator=(const SpdyIOBuffer& rhs); |
// Accessors. |
DrainableIOBuffer* buffer() const { return buffer_; } |