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_H_ | 5 #ifndef NET_SPDY_SPDY_BUFFER_H_ |
6 #define NET_SPDY_SPDY_BUFFER_H_ | 6 #define NET_SPDY_SPDY_BUFFER_H_ |
7 | 7 |
8 #include <cstddef> | 8 #include <cstddef> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
| 12 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "net/base/net_export.h" | 15 #include "net/base/net_export.h" |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 | 18 |
19 class IOBuffer; | 19 class IOBuffer; |
20 class SpdyFrame; | 20 class SpdyFrame; |
21 | 21 |
22 // SpdyBuffer is a class to hold data read from or to be written to a | 22 // SpdyBuffer is a class to hold data read from or to be written to a |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 const scoped_refptr<SharedFrame> shared_frame_; | 95 const scoped_refptr<SharedFrame> shared_frame_; |
96 std::vector<ConsumeCallback> consume_callbacks_; | 96 std::vector<ConsumeCallback> consume_callbacks_; |
97 size_t offset_; | 97 size_t offset_; |
98 | 98 |
99 DISALLOW_COPY_AND_ASSIGN(SpdyBuffer); | 99 DISALLOW_COPY_AND_ASSIGN(SpdyBuffer); |
100 }; | 100 }; |
101 | 101 |
102 } // namespace net | 102 } // namespace net |
103 | 103 |
104 #endif // NET_SPDY_SPDY_BUFFER_H_ | 104 #endif // NET_SPDY_SPDY_BUFFER_H_ |
OLD | NEW |