Searched refs:domain_state (Results 1 - 16 of 16) sorted by relevance

/external/chromium/net/base/
H A Dtransport_security_state_unittest.cc145 TransportSecurityState::DomainState domain_state; local
149 EXPECT_FALSE(state->IsEnabledForHost(&domain_state, "google.com", true));
150 domain_state.expiry = expiry;
151 state->EnableHost("google.com", domain_state);
152 EXPECT_TRUE(state->IsEnabledForHost(&domain_state, "google.com", true));
158 TransportSecurityState::DomainState domain_state; local
162 EXPECT_FALSE(state->IsEnabledForHost(&domain_state, "google.com", true));
163 domain_state.expiry = expiry;
164 state->EnableHost("GOOgle.coM", domain_state);
165 EXPECT_TRUE(state->IsEnabledForHost(&domain_state, "googl
171 TransportSecurityState::DomainState domain_state; local
184 TransportSecurityState::DomainState domain_state; local
217 TransportSecurityState::DomainState domain_state; local
251 TransportSecurityState::DomainState domain_state; local
274 TransportSecurityState::DomainState domain_state; local
294 TransportSecurityState::DomainState domain_state; local
339 TransportSecurityState::DomainState domain_state; local
358 TransportSecurityState::DomainState domain_state; local
526 TransportSecurityState::DomainState domain_state; local
535 TransportSecurityState::DomainState domain_state; local
[all...]
/external/chromium_org/net/http/
H A Dtransport_security_state_unittest.cc62 const TransportSecurityState::DomainState& domain_state) {
63 return state->EnableHost(host, domain_state);
69 TransportSecurityState::DomainState domain_state; local
73 EXPECT_FALSE(state.GetDomainState("yahoo.com", true, &domain_state));
76 EXPECT_TRUE(state.GetDomainState("yahoo.com", true, &domain_state));
81 TransportSecurityState::DomainState domain_state; local
85 EXPECT_FALSE(state.GetDomainState("yahoo.com", true, &domain_state));
88 EXPECT_TRUE(state.GetDomainState("yahoo.com", true, &domain_state));
93 TransportSecurityState::DomainState domain_state; local
97 EXPECT_FALSE(state.GetDomainState("YAhoo.coM", true, &domain_state));
60 EnableHost(TransportSecurityState* state, const std::string& host, const TransportSecurityState::DomainState& domain_state) argument
105 TransportSecurityState::DomainState domain_state; local
122 TransportSecurityState::DomainState domain_state; local
139 TransportSecurityState::DomainState domain_state; local
161 TransportSecurityState::DomainState domain_state; local
175 TransportSecurityState::DomainState domain_state; local
188 TransportSecurityState::DomainState domain_state; local
195 TransportSecurityState::DomainState domain_state; local
201 TransportSecurityState::DomainState domain_state; local
214 TransportSecurityState::DomainState domain_state; local
226 TransportSecurityState::DomainState domain_state; local
470 TransportSecurityState::DomainState domain_state; local
477 TransportSecurityState::DomainState domain_state; local
566 TransportSecurityState::DomainState domain_state; local
602 TransportSecurityState::DomainState domain_state; local
631 TransportSecurityState::DomainState domain_state; local
706 TransportSecurityState::DomainState domain_state; local
738 TransportSecurityState::DomainState domain_state; local
[all...]
H A Dtransport_security_state.cc618 TransportSecurityState::DomainState domain_state; local
619 GetDynamicDomainState(host, &domain_state);
620 if (ParseHSTSHeader(value, &max_age, &domain_state.sts_include_subdomains)) {
623 domain_state.upgrade_mode = DomainState::MODE_DEFAULT;
625 domain_state.upgrade_mode = DomainState::MODE_FORCE_HTTPS;
626 domain_state.created = now;
627 domain_state.upgrade_expiry = now + max_age;
628 EnableHost(host, domain_state);
641 TransportSecurityState::DomainState domain_state; local
642 GetDynamicDomainState(host, &domain_state);
661 TransportSecurityState::DomainState domain_state; local
684 TransportSecurityState::DomainState domain_state; local
[all...]
H A Dhttp_security_headers_unittest.cc439 TransportSecurityState::DomainState domain_state; local
443 EXPECT_TRUE(state.GetDomainState(domain, true, &domain_state));
444 EXPECT_GT(domain_state.static_spki_hashes.size(), 1UL);
445 HashValueVector saved_hashes = domain_state.static_spki_hashes;
490 EXPECT_TRUE(state.GetDomainState(domain, true, &domain_state));
491 EXPECT_EQ(2UL, domain_state.dynamic_spki_hashes.size());
493 hash = std::find_if(domain_state.dynamic_spki_hashes.begin(),
494 domain_state.dynamic_spki_hashes.end(),
496 EXPECT_NE(domain_state.dynamic_spki_hashes.end(), hash);
499 domain_state
[all...]
H A Dtransport_security_state.h152 const DomainState& domain_state() const { return iterator_->second; } function in class:net::TransportSecurityState::Iterator
/external/chromium_org/chrome/browser/net/
H A Dtransport_security_persister_unittest.cc65 TransportSecurityState::DomainState domain_state; local
70 EXPECT_FALSE(state_.GetDomainState(kYahooDomain, true, &domain_state));
80 EXPECT_TRUE(state_.GetDomainState(kYahooDomain, true, &domain_state));
81 EXPECT_EQ(domain_state.upgrade_mode,
83 EXPECT_TRUE(state_.GetDomainState("foo.yahoo.com", true, &domain_state));
84 EXPECT_EQ(domain_state.upgrade_mode,
86 EXPECT_TRUE(state_.GetDomainState("foo.bar.yahoo.com", true, &domain_state));
87 EXPECT_EQ(domain_state.upgrade_mode,
90 &domain_state));
91 EXPECT_EQ(domain_state
178 TransportSecurityState::DomainState domain_state; local
[all...]
H A Dtransport_security_persister.cc169 const TransportSecurityState::DomainState& domain_state = local
170 state.domain_state();
174 domain_state.sts_include_subdomains);
176 domain_state.pkp_include_subdomains);
177 serialized->SetDouble(kCreated, domain_state.created.ToDoubleT());
178 serialized->SetDouble(kExpiry, domain_state.upgrade_expiry.ToDoubleT());
180 domain_state.dynamic_spki_hashes_expiry.ToDoubleT());
182 switch (domain_state.upgrade_mode) {
196 SPKIHashesToListValue(domain_state.static_spki_hashes));
198 if (now < domain_state
243 TransportSecurityState::DomainState domain_state; local
[all...]
/external/chromium/net/socket_stream/
H A Dsocket_stream_job.cc27 TransportSecurityState::DomainState domain_state; local
31 &domain_state, url.host(), context.IsSNIAvailable()) &&
32 domain_state.mode == TransportSecurityState::DomainState::MODE_STRICT) {
/external/chromium_org/net/socket_stream/
H A Dsocket_stream_job.cc29 TransportSecurityState::DomainState domain_state; local
31 url.host(), SSLConfigService::IsSNIAvailable(ssl), &domain_state) &&
32 domain_state.ShouldUpgradeToSSL()) {
H A Dsocket_stream.cc1308 TransportSecurityState::DomainState domain_state; local
1312 &domain_state) &&
1313 domain_state.ShouldSSLErrorsBeFatal();
/external/chromium/net/url_request/
H A Durl_request_http_job.cc72 TransportSecurityState::DomainState domain_state; local
73 domain_state.expiry = current_time + max_age_delta;
74 domain_state.mode =
76 domain_state.include_subdomains = include_subdomains_;
78 sts_->EnableHost(host_, domain_state);
180 TransportSecurityState::DomainState domain_state; local
184 &domain_state,
187 if (domain_state.mode ==
517 TransportSecurityState::DomainState domain_state; local
518 domain_state
541 TransportSecurityState::DomainState domain_state; local
664 TransportSecurityState::DomainState domain_state; local
[all...]
/external/chromium_org/net/url_request/
H A Durl_request_unittest.cc3928 TransportSecurityState::DomainState domain_state; local
3930 SpawnedTestServer::kLocalhost, sni_available, &domain_state));
3932 domain_state.upgrade_mode);
3933 EXPECT_TRUE(domain_state.sts_include_subdomains);
3934 EXPECT_FALSE(domain_state.pkp_include_subdomains);
3938 EXPECT_FALSE(domain_state.HasPublicKeyPins());
3972 TransportSecurityState::DomainState domain_state; local
3974 SpawnedTestServer::kLocalhost, sni_available, &domain_state));
3976 domain_state.upgrade_mode);
3977 EXPECT_FALSE(domain_state
4004 TransportSecurityState::DomainState domain_state; local
4033 TransportSecurityState::DomainState domain_state; local
4074 TransportSecurityState::DomainState domain_state; local
5071 TransportSecurityState::DomainState domain_state; local
[all...]
H A Durl_request.cc924 TransportSecurityState::DomainState domain_state;
929 &domain_state) &&
930 domain_state.ShouldUpgradeToSSL()) {
H A Durl_request_http_job.cc896 TransportSecurityState::DomainState domain_state; local
902 &domain_state) &&
903 domain_state.ShouldSSLErrorsBeFatal();
/external/chromium_org/chrome/browser/renderer_host/
H A Dchrome_resource_dispatcher_host_delegate.cc562 net::TransportSecurityState::DomainState domain_state; local
566 &domain_state) &&
567 domain_state.ShouldUpgradeToSSL()) {
/external/chromium_org/net/socket/
H A Dssl_client_socket_nss.cc3442 TransportSecurityState::DomainState domain_state; local
3444 &domain_state) &&
3445 domain_state.HasPublicKeyPins()) {
3446 if (!domain_state.CheckPublicKeyPins(

Completed in 408 milliseconds