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

Unified Diff: net/url_request/url_request_unittest.cc

Issue 16901013: Expose receive header end time for URLRequestRedirectJob (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Patch for landing Created 7 years, 6 months 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/url_request/url_request_redirect_job.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_unittest.cc
diff --git a/net/url_request/url_request_unittest.cc b/net/url_request/url_request_unittest.cc
index aae296ff25504aeb8077ccee6aac233b2ec21526..7b7cb8337bdce9f1fb68a3b914ed0320d29645ce 100644
--- a/net/url_request/url_request_unittest.cc
+++ b/net/url_request/url_request_unittest.cc
@@ -4904,6 +4904,11 @@ TEST_F(HTTPSRequestTest, HSTSPreservesPosts) {
EXPECT_EQ("https", req.url().scheme());
EXPECT_EQ("POST", req.method());
EXPECT_EQ(kData, d.data_received());
+
+ LoadTimingInfo load_timing_info;
+ network_delegate.GetLoadTimingInfoBeforeRedirect(&load_timing_info);
+ // LoadTimingInfo of HSTS redirects is similar to that of network cache hits
+ TestLoadTimingCacheHitNoNetwork(load_timing_info);
}
TEST_F(HTTPSRequestTest, SSLv3Fallback) {
« no previous file with comments | « net/url_request/url_request_redirect_job.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698