summaryrefslogtreecommitdiffstats
path: root/net/base/transport_security_state_unittest.cc
diff options
context:
space:
mode:
authorcevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-19 18:36:22 +0000
committercevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-19 18:36:22 +0000
commit627d03cc8f8b8883680977a36522bdb502de3dc4 (patch)
tree3d2d0abe45c0c93156f4cbb60aca9669deb6bb64 /net/base/transport_security_state_unittest.cc
parenta3cdd1e3d9673144c1c27ec20499104f40de0afd (diff)
downloadchromium_src-627d03cc8f8b8883680977a36522bdb502de3dc4.zip
chromium_src-627d03cc8f8b8883680977a36522bdb502de3dc4.tar.gz
chromium_src-627d03cc8f8b8883680977a36522bdb502de3dc4.tar.bz2
Add groups.google.com to HSTS list.
TEST=TransportSecurityStateTest.* Review URL: http://codereview.chromium.org/8342018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106333 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/transport_security_state_unittest.cc')
-rw-r--r--net/base/transport_security_state_unittest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/base/transport_security_state_unittest.cc b/net/base/transport_security_state_unittest.cc
index d9337a9..58d364b 100644
--- a/net/base/transport_security_state_unittest.cc
+++ b/net/base/transport_security_state_unittest.cc
@@ -474,6 +474,7 @@ TEST_F(TransportSecurityStateTest, Preloaded) {
true));
EXPECT_TRUE(state.IsEnabledForHost(&domain_state, "talk.google.com", true));
EXPECT_TRUE(state.IsEnabledForHost(&domain_state, "plus.google.com", true));
+ EXPECT_TRUE(state.IsEnabledForHost(&domain_state, "groups.google.com", true));
EXPECT_TRUE(state.IsEnabledForHost(&domain_state, "entropia.de", true));
EXPECT_TRUE(state.IsEnabledForHost(&domain_state, "www.entropia.de", true));
@@ -826,6 +827,8 @@ TEST_F(TransportSecurityStateTest, BuiltinCertPins) {
true));
EXPECT_TRUE(state.HasPinsForHost(&domain_state, "talk.google.com", true));
EXPECT_TRUE(state.HasPinsForHost(&domain_state, "plus.google.com", true));
+ EXPECT_TRUE(state.HasPinsForHost(&domain_state, "groups.google.com", true));
+
EXPECT_TRUE(state.HasPinsForHost(&domain_state, "ssl.gstatic.com", true));
EXPECT_FALSE(state.HasPinsForHost(&domain_state, "www.gstatic.com", true));
EXPECT_TRUE(state.HasPinsForHost(&domain_state,