summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorcevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-18 06:03:45 +0000
committercevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-18 06:03:45 +0000
commit6822f335e611617d5424cdca4f1f681c8b35d4d5 (patch)
tree9f993fe9f3bb774240aaca8af3dcfc1666944ea7 /net
parentf2da4b06dd189750cf2cd1db687b1106dce38ee8 (diff)
downloadchromium_src-6822f335e611617d5424cdca4f1f681c8b35d4d5.zip
chromium_src-6822f335e611617d5424cdca4f1f681c8b35d4d5.tar.gz
chromium_src-6822f335e611617d5424cdca4f1f681c8b35d4d5.tar.bz2
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
Diffstat (limited to 'net')
-rw-r--r--net/base/transport_security_state.cc1
-rw-r--r--net/base/transport_security_state_unittest.cc1
2 files changed, 2 insertions, 0 deletions
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) {