OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef NET_SPDY_SPDY_FRAME_PRODUCER_H_ |
| 6 #define NET_SPDY_SPDY_FRAME_PRODUCER_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "net/base/request_priority.h" |
| 10 #include "net/spdy/spdy_protocol.h" |
| 11 |
| 12 namespace net { |
| 13 |
| 14 class SpdyStream; |
| 15 |
| 16 class NET_EXPORT_PRIVATE SpdyFrameProducer { |
| 17 public: |
| 18 SpdyFrameProducer() {} |
| 19 |
| 20 virtual SpdyFrame* ProduceNextFrame() = 0; |
| 21 |
| 22 virtual RequestPriority GetPriority() const = 0; |
| 23 |
| 24 virtual SpdyStream* GetSpdyStream() const = 0; |
| 25 |
| 26 protected: |
| 27 virtual ~SpdyFrameProducer() {} |
| 28 |
| 29 private: |
| 30 DISALLOW_COPY_AND_ASSIGN(SpdyFrameProducer); |
| 31 }; |
| 32 |
| 33 } // namespace net |
| 34 |
| 35 #endif // NET_SPDY_SPDY_FRAME_PRODUCER_H_ |
OLD | NEW |