HomeSort by relevance Sort by last modified time
    Searched full:domain_state (Results 1 - 16 of 16) sorted by null

  /external/chromium/net/base/
transport_security_state_unittest.cc 145 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, "google.com", true))
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/
transport_security_state_unittest.cc 62 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));
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...]
transport_security_state.cc 618 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...]
http_security_headers_unittest.cc 439 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.dynamic_spki_hashes.begin()
    [all...]
transport_security_state.h 152 const DomainState& domain_state() const { return iterator_->second; } function in class:net::TransportSecurityState::Iterator
  /external/chromium_org/chrome/browser/net/
transport_security_persister_unittest.cc 65 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.upgrade_mode
178 TransportSecurityState::DomainState domain_state; local
    [all...]
transport_security_persister.cc 169 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.dynamic_spki_hashes_expiry)
243 TransportSecurityState::DomainState domain_state; local
    [all...]
  /external/chromium/net/socket_stream/
socket_stream_job.cc 27 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/
socket_stream_job.cc 29 TransportSecurityState::DomainState domain_state; local
31 url.host(), SSLConfigService::IsSNIAvailable(ssl), &domain_state) &&
32 domain_state.ShouldUpgradeToSSL()) {
socket_stream.cc 1308 TransportSecurityState::DomainState domain_state; local
    [all...]
  /external/chromium/net/url_request/
url_request_http_job.cc 72 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.expiry = current_time + max_age_delta
541 TransportSecurityState::DomainState domain_state; local
664 TransportSecurityState::DomainState domain_state; local
    [all...]
  /external/chromium_org/net/url_request/
url_request_unittest.cc 3928 TransportSecurityState::DomainState domain_state; local
3972 TransportSecurityState::DomainState domain_state; local
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...]
url_request.cc 924 TransportSecurityState::DomainState domain_state;
929 &domain_state) &&
930 domain_state.ShouldUpgradeToSSL()) {
    [all...]
url_request_http_job.cc 896 TransportSecurityState::DomainState domain_state local
    [all...]
  /external/chromium_org/chrome/browser/renderer_host/
chrome_resource_dispatcher_host_delegate.cc 562 net::TransportSecurityState::DomainState domain_state; local
566 &domain_state) &&
567 domain_state.ShouldUpgradeToSSL()) {
  /external/chromium_org/net/socket/
ssl_client_socket_nss.cc 3442 TransportSecurityState::DomainState domain_state; local
    [all...]

Completed in 757 milliseconds