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

Unified Diff: net/quic/core/quic_connection_stats.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/quic_connection.cc ('k') | net/quic/core/quic_connection_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_connection_stats.cc
diff --git a/net/quic/core/quic_connection_stats.cc b/net/quic/core/quic_connection_stats.cc
index 7f7935b87deb14e627d630eb5e57f19d3ad2559b..759c4620159fc60732de0c360ca51151ad819ba1 100644
--- a/net/quic/core/quic_connection_stats.cc
+++ b/net/quic/core/quic_connection_stats.cc
@@ -4,8 +4,6 @@
#include "net/quic/core/quic_connection_stats.h"
-using std::ostream;
-
namespace net {
QuicConnectionStats::QuicConnectionStats()
@@ -48,7 +46,7 @@ QuicConnectionStats::QuicConnectionStats(const QuicConnectionStats& other) =
QuicConnectionStats::~QuicConnectionStats() {}
-ostream& operator<<(ostream& os, const QuicConnectionStats& s) {
+std::ostream& operator<<(std::ostream& os, const QuicConnectionStats& s) {
os << "{ bytes_sent: " << s.bytes_sent;
os << " packets_sent: " << s.packets_sent;
os << " stream_bytes_sent: " << s.stream_bytes_sent;
« no previous file with comments | « net/quic/core/quic_connection.cc ('k') | net/quic/core/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698