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 { | |
Ryan Hamilton
2012/06/21 18:14:58
move to nested class of SpdySession
| |
17 public: | |
ramant (doing other things)
2012/06/20 01:50:40
nit: A small comment describing purpose of this cl
Ryan Hamilton
2012/06/21 18:14:58
Done.
| |
18 SpdyFrameProducer() {} | |
19 | |
20 virtual SpdyFrame* ProduceNextFrame() = 0; | |
21 | |
22 virtual RequestPriority GetPriority() const = 0; | |
23 | |
24 virtual SpdyStream* GetSpdyStream() const = 0; | |
Ryan Hamilton
2012/06/21 18:14:58
remove const
| |
25 | |
26 protected: | |
27 virtual ~SpdyFrameProducer() {} | |
Ryan Hamilton
2012/06/21 18:14:58
Make destructor public. Change SpdyStream to not
| |
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 |