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_READ_QUEUE_H_ | 5 #ifndef NET_SPDY_SPDY_READ_QUEUE_H_ |
6 #define NET_SPDY_SPDY_READ_QUEUE_H_ | 6 #define NET_SPDY_SPDY_READ_QUEUE_H_ |
7 | 7 |
8 #include <cstddef> | 8 #include <cstddef> |
9 #include <deque> | 9 #include <deque> |
10 #include <memory> | 10 #include <memory> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 // |total_size_| is the sum of GetRemainingSize() of |queue_|'s elements. | 44 // |total_size_| is the sum of GetRemainingSize() of |queue_|'s elements. |
45 std::deque<std::unique_ptr<SpdyBuffer>> queue_; | 45 std::deque<std::unique_ptr<SpdyBuffer>> queue_; |
46 size_t total_size_; | 46 size_t total_size_; |
47 | 47 |
48 DISALLOW_COPY_AND_ASSIGN(SpdyReadQueue); | 48 DISALLOW_COPY_AND_ASSIGN(SpdyReadQueue); |
49 }; | 49 }; |
50 | 50 |
51 } // namespace net | 51 } // namespace net |
52 | 52 |
53 #endif // NET_SPDY_SPDY_READ_QUEUE_H_ | 53 #endif // NET_SPDY_SPDY_READ_QUEUE_H_ |
OLD | NEW |