Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: net/quic/core/frames/quic_window_update_frame.cc

Issue 2524523002: Remove various 'using std::' statements from QUIC code and use (Closed)
Patch Set: Rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/core/frames/quic_stream_frame.cc ('k') | net/quic/core/interval_set.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 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 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/core/frames/quic_window_update_frame.h" 5 #include "net/quic/core/frames/quic_window_update_frame.h"
6 6
7 using std::ostream;
8
9 namespace net { 7 namespace net {
10 8
11 QuicWindowUpdateFrame::QuicWindowUpdateFrame(QuicStreamId stream_id, 9 QuicWindowUpdateFrame::QuicWindowUpdateFrame(QuicStreamId stream_id,
12 QuicStreamOffset byte_offset) 10 QuicStreamOffset byte_offset)
13 : stream_id(stream_id), byte_offset(byte_offset) {} 11 : stream_id(stream_id), byte_offset(byte_offset) {}
14 12
15 ostream& operator<<(ostream& os, 13 std::ostream& operator<<(std::ostream& os,
16 const QuicWindowUpdateFrame& window_update_frame) { 14 const QuicWindowUpdateFrame& window_update_frame) {
17 os << "{ stream_id: " << window_update_frame.stream_id 15 os << "{ stream_id: " << window_update_frame.stream_id
18 << ", byte_offset: " << window_update_frame.byte_offset << " }\n"; 16 << ", byte_offset: " << window_update_frame.byte_offset << " }\n";
19 return os; 17 return os;
20 } 18 }
21 19
22 } // namespace net 20 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/frames/quic_stream_frame.cc ('k') | net/quic/core/interval_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698