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

Unified Diff: net/quic/core/frames/quic_goaway_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/core/frames/quic_frame.cc ('k') | net/quic/core/frames/quic_padding_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/frames/quic_goaway_frame.cc
diff --git a/net/quic/core/frames/quic_goaway_frame.cc b/net/quic/core/frames/quic_goaway_frame.cc
index ded85b96d01c19bc86525f745c65106577a3c453..2405fbae47e4b52cf545f8e379c1efeb95ed1936 100644
--- a/net/quic/core/frames/quic_goaway_frame.cc
+++ b/net/quic/core/frames/quic_goaway_frame.cc
@@ -4,7 +4,6 @@
#include "net/quic/core/frames/quic_goaway_frame.h"
-using std::ostream;
using std::string;
namespace net {
@@ -19,7 +18,8 @@ QuicGoAwayFrame::QuicGoAwayFrame(QuicErrorCode error_code,
last_good_stream_id(last_good_stream_id),
reason_phrase(reason) {}
-ostream& operator<<(ostream& os, const QuicGoAwayFrame& goaway_frame) {
+std::ostream& operator<<(std::ostream& os,
+ const QuicGoAwayFrame& goaway_frame) {
os << "{ error_code: " << goaway_frame.error_code
<< ", last_good_stream_id: " << goaway_frame.last_good_stream_id
<< ", reason_phrase: '" << goaway_frame.reason_phrase << "' }\n";
« no previous file with comments | « net/quic/core/frames/quic_frame.cc ('k') | net/quic/core/frames/quic_padding_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698