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

Unified Diff: net/url_request/url_request_unittest.cc

Issue 2382983002: Remove the last of the TLS fallback code. (Closed)
Patch Set: mmenke comments Created 4 years, 2 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/ssl/ssl_connection_status_flags.h ('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 e855224f6e8971b20b2d8b29cb2bfc782c224831..af8025b1ad80ae16672a4c814f4750354327dc91 100644
--- a/net/url_request/url_request_unittest.cc
+++ b/net/url_request/url_request_unittest.cc
@@ -8767,15 +8767,6 @@ class HTTPSFallbackTest : public testing::Test {
base::RunLoop().Run();
}
- void ExpectConnection(int version) {
- EXPECT_EQ(1, delegate_.response_started_count());
- EXPECT_NE(0, delegate_.bytes_received());
- EXPECT_EQ(version, SSLConnectionStatusToVersion(
- request_->ssl_info().connection_status));
- EXPECT_TRUE(request_->ssl_info().connection_status &
- SSL_CONNECTION_VERSION_FALLBACK);
- }
-
void ExpectFailure(int error) {
EXPECT_EQ(1, delegate_.response_started_count());
EXPECT_EQ(error, delegate_.request_status());
« no previous file with comments | « net/ssl/ssl_connection_status_flags.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698