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

Unified Diff: content/browser/frame_host/navigation_handle_impl_unittest.cc

Issue 2461683002: Slice enum HttpResponseInfo::ConnectionInfo by QUIC version. (Closed)
Patch Set: Update recently introduced CONNECTION_INFO_QUIC occurrences. 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 | « components/domain_reliability/util.cc ('k') | net/http/http_response_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/navigation_handle_impl_unittest.cc
diff --git a/content/browser/frame_host/navigation_handle_impl_unittest.cc b/content/browser/frame_host/navigation_handle_impl_unittest.cc
index b1fae61cb5728348d91718ba6503798d60e08b1b..ff2f74896b714d699edd58909c65ccb3510d2011 100644
--- a/content/browser/frame_host/navigation_handle_impl_unittest.cc
+++ b/content/browser/frame_host/navigation_handle_impl_unittest.cc
@@ -147,7 +147,7 @@ class NavigationHandleImplTest : public RenderViewHostImplTestHarness {
// in both cases.
test_handle_->WillProcessResponse(
main_test_rfh(), scoped_refptr<net::HttpResponseHeaders>(),
- net::HttpResponseInfo::CONNECTION_INFO_QUIC, SSLStatus(),
+ net::HttpResponseInfo::CONNECTION_INFO_QUIC_35, SSLStatus(),
GlobalRequestID(), false, false, false, base::Closure(),
base::Bind(&NavigationHandleImplTest::UpdateThrottleCheckResult,
base::Unretained(this)));
@@ -209,7 +209,7 @@ TEST_F(NavigationHandleImplTest, SimpleDataChecks) {
SimulateWillProcessResponse();
EXPECT_EQ(REQUEST_CONTEXT_TYPE_LOCATION,
test_handle()->GetRequestContextType());
- EXPECT_EQ(net::HttpResponseInfo::CONNECTION_INFO_QUIC,
+ EXPECT_EQ(net::HttpResponseInfo::CONNECTION_INFO_QUIC_35,
test_handle()->GetConnectionInfo());
}
@@ -220,7 +220,7 @@ TEST_F(NavigationHandleImplTest, SimpleDataCheckNoRedirect) {
test_handle()->Resume();
SimulateWillProcessResponse();
- EXPECT_EQ(net::HttpResponseInfo::CONNECTION_INFO_QUIC,
+ EXPECT_EQ(net::HttpResponseInfo::CONNECTION_INFO_QUIC_35,
test_handle()->GetConnectionInfo());
}
« no previous file with comments | « components/domain_reliability/util.cc ('k') | net/http/http_response_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698