OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "net/quic/core/frames/quic_window_update_frame.h" |
| 6 |
| 7 using std::ostream; |
| 8 |
| 9 namespace net { |
| 10 |
| 11 QuicWindowUpdateFrame::QuicWindowUpdateFrame(QuicStreamId stream_id, |
| 12 QuicStreamOffset byte_offset) |
| 13 : stream_id(stream_id), byte_offset(byte_offset) {} |
| 14 |
| 15 ostream& operator<<(ostream& os, |
| 16 const QuicWindowUpdateFrame& window_update_frame) { |
| 17 os << "{ stream_id: " << window_update_frame.stream_id |
| 18 << ", byte_offset: " << window_update_frame.byte_offset << " }\n"; |
| 19 return os; |
| 20 } |
| 21 |
| 22 } // namespace net |
OLD | NEW |