ParseHSTSHeader 29 net/http/http_security_headers.h bool NET_EXPORT_PRIVATE ParseHSTSHeader(const std::string& value, ParseHSTSHeader 58 net/http/http_security_headers_unittest.cc ParseHSTSHeader(std::string(), &max_age, &include_subdomains)); ParseHSTSHeader 59 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader(" ", &max_age, &include_subdomains)); ParseHSTSHeader 60 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("abc", &max_age, &include_subdomains)); ParseHSTSHeader 61 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader(" abc", &max_age, &include_subdomains)); ParseHSTSHeader 62 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader(" abc ", &max_age, &include_subdomains)); ParseHSTSHeader 63 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age", &max_age, &include_subdomains)); ParseHSTSHeader 64 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader(" max-age", &max_age, ParseHSTSHeader 66 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader(" max-age ", &max_age, ParseHSTSHeader 68 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age=", &max_age, &include_subdomains)); ParseHSTSHeader 69 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader(" max-age=", &max_age, ParseHSTSHeader 71 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader(" max-age =", &max_age, ParseHSTSHeader 73 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader(" max-age= ", &max_age, ParseHSTSHeader 75 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader(" max-age = ", &max_age, ParseHSTSHeader 77 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader(" max-age = xy", &max_age, ParseHSTSHeader 79 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader(" max-age = 3488a923", &max_age, ParseHSTSHeader 81 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age=3488a923 ", &max_age, ParseHSTSHeader 83 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-ag=3488923", &max_age, ParseHSTSHeader 85 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-aged=3488923", &max_age, ParseHSTSHeader 87 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age==3488923", &max_age, ParseHSTSHeader 89 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("amax-age=3488923", &max_age, ParseHSTSHeader 91 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age=-3488923", &max_age, ParseHSTSHeader 93 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age=3488923;", &max_age, ParseHSTSHeader 95 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age=3488923 e", &max_age, ParseHSTSHeader 97 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age=3488923 includesubdomain", ParseHSTSHeader 99 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age=3488923includesubdomains", ParseHSTSHeader 101 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age=3488923=includesubdomains", ParseHSTSHeader 103 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age=3488923 includesubdomainx", ParseHSTSHeader 105 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age=3488923 includesubdomain=", ParseHSTSHeader 107 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age=3488923 includesubdomain=true", ParseHSTSHeader 109 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age=3488923 includesubdomainsx", ParseHSTSHeader 111 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age=3488923 includesubdomains x", ParseHSTSHeader 113 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age=34889.23 includesubdomains", ParseHSTSHeader 115 net/http/http_security_headers_unittest.cc EXPECT_FALSE(ParseHSTSHeader("max-age=34889 includesubdomains", ParseHSTSHeader 220 net/http/http_security_headers_unittest.cc EXPECT_TRUE(ParseHSTSHeader("max-age=243", &max_age, ParseHSTSHeader 226 net/http/http_security_headers_unittest.cc EXPECT_TRUE(ParseHSTSHeader(" Max-agE = 567", &max_age, ParseHSTSHeader 232 net/http/http_security_headers_unittest.cc EXPECT_TRUE(ParseHSTSHeader(" mAx-aGe = 890 ", &max_age, ParseHSTSHeader 238 net/http/http_security_headers_unittest.cc EXPECT_TRUE(ParseHSTSHeader("max-age=123;incLudesUbdOmains", &max_age, ParseHSTSHeader 244 net/http/http_security_headers_unittest.cc EXPECT_TRUE(ParseHSTSHeader("incLudesUbdOmains; max-age=123", &max_age, ParseHSTSHeader 250 net/http/http_security_headers_unittest.cc EXPECT_TRUE(ParseHSTSHeader(" incLudesUbdOmains; max-age=123", ParseHSTSHeader 256 net/http/http_security_headers_unittest.cc EXPECT_TRUE(ParseHSTSHeader( ParseHSTSHeader 263 net/http/http_security_headers_unittest.cc EXPECT_TRUE(ParseHSTSHeader( ParseHSTSHeader 270 net/http/http_security_headers_unittest.cc EXPECT_TRUE(ParseHSTSHeader( ParseHSTSHeader 277 net/http/http_security_headers_unittest.cc EXPECT_TRUE(ParseHSTSHeader( ParseHSTSHeader 284 net/http/http_security_headers_unittest.cc EXPECT_TRUE(ParseHSTSHeader( ParseHSTSHeader 291 net/http/http_security_headers_unittest.cc EXPECT_TRUE(ParseHSTSHeader("max-age=394082; incLudesUbdOmains", ParseHSTSHeader 297 net/http/http_security_headers_unittest.cc EXPECT_TRUE(ParseHSTSHeader( ParseHSTSHeader 305 net/http/http_security_headers_unittest.cc EXPECT_TRUE(ParseHSTSHeader( ParseHSTSHeader 313 net/http/http_security_headers_unittest.cc EXPECT_TRUE(ParseHSTSHeader( ParseHSTSHeader 320 net/http/http_security_headers_unittest.cc EXPECT_TRUE(ParseHSTSHeader( ParseHSTSHeader 620 net/http/transport_security_state.cc if (ParseHSTSHeader(value, &max_age, &domain_state.sts_include_subdomains)) {