Searched refs:ParseHSTSHeader (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/net/http/ |
D | http_security_headers_unittest.cc | 58 ParseHSTSHeader(std::string(), &max_age, &include_subdomains)); in TEST_F() 59 EXPECT_FALSE(ParseHSTSHeader(" ", &max_age, &include_subdomains)); in TEST_F() 60 EXPECT_FALSE(ParseHSTSHeader("abc", &max_age, &include_subdomains)); in TEST_F() 61 EXPECT_FALSE(ParseHSTSHeader(" abc", &max_age, &include_subdomains)); in TEST_F() 62 EXPECT_FALSE(ParseHSTSHeader(" abc ", &max_age, &include_subdomains)); in TEST_F() 63 EXPECT_FALSE(ParseHSTSHeader("max-age", &max_age, &include_subdomains)); in TEST_F() 64 EXPECT_FALSE(ParseHSTSHeader(" max-age", &max_age, in TEST_F() 66 EXPECT_FALSE(ParseHSTSHeader(" max-age ", &max_age, in TEST_F() 68 EXPECT_FALSE(ParseHSTSHeader("max-age=", &max_age, &include_subdomains)); in TEST_F() 69 EXPECT_FALSE(ParseHSTSHeader(" max-age=", &max_age, in TEST_F() [all …]
|
D | http_security_headers.h | 29 bool NET_EXPORT_PRIVATE ParseHSTSHeader(const std::string& value,
|
D | http_security_headers.cc | 167 bool ParseHSTSHeader(const std::string& value, in ParseHSTSHeader() function
|
D | transport_security_state.cc | 649 if (ParseHSTSHeader(value, &max_age, &domain_state.sts.include_subdomains)) { in AddHSTSHeader()
|