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

Unified Diff: net/quic/core/quic_types.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_stream_test.cc ('k') | net/quic/core/quic_unacked_packet_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_types.cc
diff --git a/net/quic/core/quic_types.cc b/net/quic/core/quic_types.cc
index 9603aa62be52f14cc05b1d88770576e08a5f16fe..4167c944eab0b8a560e9a12a92974fa6b2487f86 100644
--- a/net/quic/core/quic_types.cc
+++ b/net/quic/core/quic_types.cc
@@ -4,20 +4,18 @@
#include "net/quic/core/quic_types.h"
-using std::ostream;
-
namespace net {
QuicConsumedData::QuicConsumedData(size_t bytes_consumed, bool fin_consumed)
: bytes_consumed(bytes_consumed), fin_consumed(fin_consumed) {}
-ostream& operator<<(ostream& os, const QuicConsumedData& s) {
+std::ostream& operator<<(std::ostream& os, const QuicConsumedData& s) {
os << "bytes_consumed: " << s.bytes_consumed
<< " fin_consumed: " << s.fin_consumed;
return os;
}
-ostream& operator<<(ostream& os, const Perspective& s) {
+std::ostream& operator<<(std::ostream& os, const Perspective& s) {
if (s == Perspective::IS_SERVER) {
os << "IS_SERVER";
} else {
« no previous file with comments | « net/quic/core/quic_stream_test.cc ('k') | net/quic/core/quic_unacked_packet_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698