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

Unified Diff: net/quic/core/quic_headers_stream_test.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_framer_test.cc ('k') | net/quic/core/quic_multipath_sent_packet_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_headers_stream_test.cc
diff --git a/net/quic/core/quic_headers_stream_test.cc b/net/quic/core/quic_headers_stream_test.cc
index 4b27ee1eae37c6f7a472f24fde83cd1e2cc89537..6315c3227bd5869f6bc9790619682913e56c41c5 100644
--- a/net/quic/core/quic_headers_stream_test.cc
+++ b/net/quic/core/quic_headers_stream_test.cc
@@ -4,6 +4,7 @@
#include "net/quic/core/quic_headers_stream.h"
+#include <ostream>
#include <string>
#include <tuple>
#include <utility>
@@ -25,9 +26,7 @@
#include "testing/gtest/include/gtest/gtest.h"
using base::StringPiece;
-using std::ostream;
using std::string;
-using std::vector;
using testing::ElementsAre;
using testing::_;
using testing::AtLeast;
@@ -143,7 +142,7 @@ enum Http2DecoderChoice {
HTTP2_DECODER_NESTED_SPDY,
HTTP2_DECODER_NEW
};
-ostream& operator<<(ostream& os, Http2DecoderChoice v) {
+std::ostream& operator<<(std::ostream& os, Http2DecoderChoice v) {
switch (v) {
case HTTP2_DECODER_SPDY:
return os << "SPDY";
@@ -156,7 +155,7 @@ ostream& operator<<(ostream& os, Http2DecoderChoice v) {
}
enum HpackDecoderChoice { HPACK_DECODER_SPDY, HPACK_DECODER_NEW };
-ostream& operator<<(ostream& os, HpackDecoderChoice v) {
+std::ostream& operator<<(std::ostream& os, HpackDecoderChoice v) {
switch (v) {
case HPACK_DECODER_SPDY:
return os << "SPDY";
« no previous file with comments | « net/quic/core/quic_framer_test.cc ('k') | net/quic/core/quic_multipath_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698