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/core/quic_frame_list.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 | 10 |
11 using std::list; | 11 using std::list; |
12 using std::string; | 12 using std::string; |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 | 15 |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 | 245 |
246 QuicStreamOffset QuicFrameList::BytesConsumed() const { | 246 QuicStreamOffset QuicFrameList::BytesConsumed() const { |
247 return total_bytes_read_; | 247 return total_bytes_read_; |
248 } | 248 } |
249 | 249 |
250 size_t QuicFrameList::BytesBuffered() const { | 250 size_t QuicFrameList::BytesBuffered() const { |
251 return num_bytes_buffered_; | 251 return num_bytes_buffered_; |
252 } | 252 } |
253 | 253 |
254 } // namespace net | 254 } // namespace net |
OLD | NEW |