Index: net/spdy/spdy_frame_producer.h |
diff --git a/net/spdy/spdy_frame_producer.h b/net/spdy/spdy_frame_producer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c5d4d8c7b076ace8c0cd09bc547c8847cfd7e783 |
--- /dev/null |
+++ b/net/spdy/spdy_frame_producer.h |
@@ -0,0 +1,35 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef NET_SPDY_SPDY_FRAME_PRODUCER_H_ |
+#define NET_SPDY_SPDY_FRAME_PRODUCER_H_ |
+#pragma once |
+ |
+#include "net/base/request_priority.h" |
+#include "net/spdy/spdy_protocol.h" |
+ |
+namespace net { |
+ |
+class SpdyStream; |
+ |
+class NET_EXPORT_PRIVATE SpdyFrameProducer { |
+ public: |
+ SpdyFrameProducer() {} |
+ |
+ virtual SpdyFrame* ProduceNextFrame() = 0; |
+ |
+ virtual RequestPriority GetPriority() const = 0; |
+ |
+ virtual SpdyStream* GetSpdyStream() const = 0; |
+ |
+ protected: |
+ virtual ~SpdyFrameProducer() {} |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(SpdyFrameProducer); |
+}; |
+ |
+} // namespace net |
+ |
+#endif // NET_SPDY_SPDY_FRAME_PRODUCER_H_ |