OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_utils.h" | 5 #include "net/quic/quic_utils.h" |
6 | 6 |
7 #include <ctype.h> | 7 #include <ctype.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 } | 336 } |
337 | 337 |
338 bytes_remaining -= line_bytes; | 338 bytes_remaining -= line_bytes; |
339 offset += line_bytes; | 339 offset += line_bytes; |
340 p += line_bytes; | 340 p += line_bytes; |
341 s += '\n'; | 341 s += '\n'; |
342 } | 342 } |
343 return s; | 343 return s; |
344 } | 344 } |
345 | 345 |
346 // static | |
347 QuicPriority QuicUtils::HighestPriority() { | |
348 return QuicWriteBlockedList::kHighestPriority; | |
349 } | |
350 | |
351 } // namespace net | 346 } // namespace net |
OLD | NEW |