From 6822f335e611617d5424cdca4f1f681c8b35d4d5 Mon Sep 17 00:00:00 2001 From: "cevans@chromium.org" Date: Fri, 18 Mar 2011 06:03:45 +0000 Subject: Add market.android.com to HSTS list; this origin already sends the header but seeding the initial connection is always desirable. BUG=none TEST=none Review URL: http://codereview.chromium.org/6712021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78670 0039d316-1c4b-4281-b951-d872f2087c98 --- net/base/transport_security_state.cc | 1 + net/base/transport_security_state_unittest.cc | 1 + 2 files changed, 2 insertions(+) (limited to 'net') diff --git a/net/base/transport_security_state.cc b/net/base/transport_security_state.cc index 2847d52..66887ae 100644 --- a/net/base/transport_security_state.cc +++ b/net/base/transport_security_state.cc @@ -474,6 +474,7 @@ bool TransportSecurityState::IsPreloadedSTS( {25, true, "\014spreadsheets\006google\003com"}, {22, false, "\011appengine\006google\003com"}, {25, false, "\003www\017paycheckrecords\003com"}, + {20, true, "\006market\007android\003com"}, }; static const size_t kNumPreloadedSTS = ARRAYSIZE_UNSAFE(kPreloadedSTS); diff --git a/net/base/transport_security_state_unittest.cc b/net/base/transport_security_state_unittest.cc index 492ff58..2e9f501 100644 --- a/net/base/transport_security_state_unittest.cc +++ b/net/base/transport_security_state_unittest.cc @@ -405,6 +405,7 @@ TEST_F(TransportSecurityStateTest, Preloaded) { EXPECT_TRUE(state->IsEnabledForHost(&domain_state, "www.paycheckrecords.com")); + EXPECT_TRUE(state->IsEnabledForHost(&domain_state, "market.android.com")); } TEST_F(TransportSecurityStateTest, LongNames) { -- cgit v1.1