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

Unified Diff: components/cronet/android/test/cronet_url_request_context_config_test.cc

Issue 2052363002: Enable public key pinning of local trust anchors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: components/cronet/android/test/cronet_url_request_context_config_test.cc
diff --git a/components/cronet/android/test/cronet_url_request_context_config_test.cc b/components/cronet/android/test/cronet_url_request_context_config_test.cc
index d3156c0e5342db351ca9f8c7f491fbac37c29fd9..182b149e0d5f926326d9099396e69d064aea9fdf 100644
--- a/components/cronet/android/test/cronet_url_request_context_config_test.cc
+++ b/components/cronet/android/test/cronet_url_request_context_config_test.cc
@@ -29,6 +29,7 @@ static void VerifyUrlRequestContextConfig(
CHECK_EQ(config->enable_spdy, false);
CHECK_EQ(config->enable_quic, true);
CHECK_EQ(config->enable_sdch, true);
+ CHECK_EQ(config->pin_local_trust_anchors, true);
CHECK_EQ(config->quic_hints.size(), 1u);
CHECK_EQ((*config->quic_hints.begin())->host, "example.com");
CHECK_EQ((*config->quic_hints.begin())->port, 12);

Powered by Google App Engine
This is Rietveld 408576698