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

Unified Diff: net/spdy/spdy_session_unittest.cc

Issue 2496953002: Revert of Unify enum NextProto and enum AlternateProtocol. (Closed)
Patch Set: Created 4 years, 1 month 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/spdy/spdy_session.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session_unittest.cc
diff --git a/net/spdy/spdy_session_unittest.cc b/net/spdy/spdy_session_unittest.cc
index fce8c3ce577e51ad2db1b82c3ecfc45ff04591f4..e6dd43974fd7ac7c25d49582dc6e4e1c3cdb3664 100644
--- a/net/spdy/spdy_session_unittest.cc
+++ b/net/spdy/spdy_session_unittest.cc
@@ -5389,7 +5389,7 @@
spdy_session_pool_->http_server_properties()->GetAlternativeServices(
url::SchemeHostPort(GURL(origin)));
ASSERT_EQ(1u, altsvc_vector.size());
- EXPECT_EQ(kProtoQUIC, altsvc_vector[0].protocol);
+ EXPECT_EQ(QUIC, altsvc_vector[0].protocol);
EXPECT_EQ("alternative.example.org", altsvc_vector[0].host);
EXPECT_EQ(443u, altsvc_vector[0].port);
}
@@ -5514,7 +5514,7 @@
spdy_session_pool_->http_server_properties()->GetAlternativeServices(
url::SchemeHostPort(GURL(request_origin)));
ASSERT_EQ(1u, altsvc_vector.size());
- EXPECT_EQ(kProtoQUIC, altsvc_vector[0].protocol);
+ EXPECT_EQ(QUIC, altsvc_vector[0].protocol);
EXPECT_EQ("alternative.example.org", altsvc_vector[0].host);
EXPECT_EQ(443u, altsvc_vector[0].port);
}
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698