Index: net/http/http_response_info_unittest.cc |
diff --git a/net/http/http_response_info_unittest.cc b/net/http/http_response_info_unittest.cc |
index d27fb1c8ff7cd7bc84cc5d4c6ada44a181e1771f..12d4976d4afa71b2ce7a54881c5ace6362147917 100644 |
--- a/net/http/http_response_info_unittest.cc |
+++ b/net/http/http_response_info_unittest.cc |
@@ -52,6 +52,13 @@ TEST_F(HttpResponseInfoTest, UnusedSincePrefetchPersistTrue) { |
EXPECT_TRUE(restored_response_info.unused_since_prefetch); |
} |
+TEST_F(HttpResponseInfoTest, PKPBypassPersisted) { |
estark
2016/06/07 04:10:43
Can you add a similar test for when |pkp_bypassed|
dadrian
2016/06/07 17:48:22
Done.
|
+ response_info_.ssl_info.pkp_bypassed = true; |
+ HttpResponseInfo restored_response_info; |
+ PickleAndRestore(response_info_, &restored_response_info); |
+ EXPECT_TRUE(restored_response_info.ssl_info.pkp_bypassed); |
+} |
+ |
TEST_F(HttpResponseInfoTest, AsyncRevalidationRequiredDefault) { |
EXPECT_FALSE(response_info_.async_revalidation_required); |
} |