OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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 #include "net/quic/quic_frame_list.h" | 5 #include "net/quic/quic_frame_list.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace net { | 9 namespace net { |
10 | 10 |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 } | 239 } |
240 | 240 |
241 QuicStreamOffset QuicFrameList::BytesConsumed() const { | 241 QuicStreamOffset QuicFrameList::BytesConsumed() const { |
242 return total_bytes_read_; | 242 return total_bytes_read_; |
243 } | 243 } |
244 | 244 |
245 size_t QuicFrameList::BytesBuffered() const { | 245 size_t QuicFrameList::BytesBuffered() const { |
246 return num_bytes_buffered_; | 246 return num_bytes_buffered_; |
247 } | 247 } |
248 | 248 |
249 } // namespace net_quic | 249 } // namespace net |
OLD | NEW |