Home
last modified time | relevance | path

Searched refs:ParseHSTSHeader (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/net/http/
Dhttp_security_headers_unittest.cc58 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 …]
Dhttp_security_headers.h29 bool NET_EXPORT_PRIVATE ParseHSTSHeader(const std::string& value,
Dhttp_security_headers.cc167 bool ParseHSTSHeader(const std::string& value, in ParseHSTSHeader() function
Dtransport_security_state.cc649 if (ParseHSTSHeader(value, &max_age, &domain_state.sts.include_subdomains)) { in AddHSTSHeader()