OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_SPDY_SPDY_BUFFER_PRODUCER_H_ | 5 #ifndef NET_SPDY_SPDY_BUFFER_PRODUCER_H_ |
6 #define NET_SPDY_SPDY_BUFFER_PRODUCER_H_ | 6 #define NET_SPDY_SPDY_BUFFER_PRODUCER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
12 | 12 |
13 namespace net { | 13 namespace net { |
14 | 14 |
15 class SpdyBuffer; | 15 class SpdyBuffer; |
16 | 16 |
17 // An object which provides a SpdyBuffer for writing. We pass these | 17 // An object which provides a SpdyBuffer for writing. We pass these |
18 // around instead of SpdyBuffers since some buffers have to be | 18 // around instead of SpdyBuffers since some buffers have to be |
19 // generated "just in time". | 19 // generated "just in time". |
(...skipping 21 matching lines...) Expand all Loading... |
41 | 41 |
42 private: | 42 private: |
43 scoped_ptr<SpdyBuffer> buffer_; | 43 scoped_ptr<SpdyBuffer> buffer_; |
44 | 44 |
45 DISALLOW_COPY_AND_ASSIGN(SimpleBufferProducer); | 45 DISALLOW_COPY_AND_ASSIGN(SimpleBufferProducer); |
46 }; | 46 }; |
47 | 47 |
48 } // namespace net | 48 } // namespace net |
49 | 49 |
50 #endif // NET_SPDY_SPDY_BUFFER_PRODUCER_H_ | 50 #endif // NET_SPDY_SPDY_BUFFER_PRODUCER_H_ |
OLD | NEW |