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

Unified Diff: net/quic/core/frames/quic_connection_close_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_blocked_frame.cc ('k') | net/quic/core/frames/quic_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_connection_close_frame.cc
diff --git a/net/quic/core/frames/quic_connection_close_frame.cc b/net/quic/core/frames/quic_connection_close_frame.cc
index 5f30163d9433748c8f518c7a28d571f52fecf12d..4aef61dbc155ef0fff8a893d0883c3e7bb35e3af 100644
--- a/net/quic/core/frames/quic_connection_close_frame.cc
+++ b/net/quic/core/frames/quic_connection_close_frame.cc
@@ -4,15 +4,14 @@
#include "net/quic/core/frames/quic_connection_close_frame.h"
-using std::ostream;
-
namespace net {
QuicConnectionCloseFrame::QuicConnectionCloseFrame()
: error_code(QUIC_NO_ERROR) {}
-ostream& operator<<(std::ostream& os,
- const QuicConnectionCloseFrame& connection_close_frame) {
+std::ostream& operator<<(
+ std::ostream& os,
+ const QuicConnectionCloseFrame& connection_close_frame) {
os << "{ error_code: " << connection_close_frame.error_code
<< ", error_details: '" << connection_close_frame.error_details << "' }\n";
return os;
« no previous file with comments | « net/quic/core/frames/quic_blocked_frame.cc ('k') | net/quic/core/frames/quic_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698