HomeSort by relevance Sort by last modified time
    Searched refs:domain_state (Results 1 - 15 of 15) 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
135 TransportSecurityState::DomainState domain_state; local
152 TransportSecurityState::DomainState domain_state; local
174 TransportSecurityState::DomainState domain_state; local
188 TransportSecurityState::DomainState domain_state; local
201 TransportSecurityState::DomainState domain_state; local
208 TransportSecurityState::DomainState domain_state; local
214 TransportSecurityState::DomainState domain_state; local
227 TransportSecurityState::DomainState domain_state; local
239 TransportSecurityState::DomainState domain_state; local
483 TransportSecurityState::DomainState domain_state; local
490 TransportSecurityState::DomainState domain_state; local
578 TransportSecurityState::DomainState domain_state; local
588 TransportSecurityState::DomainState domain_state; local
620 TransportSecurityState::DomainState domain_state; local
    [all...]
transport_security_persister_unittest.cc 55 TransportSecurityState::DomainState domain_state; local
60 EXPECT_FALSE(state_.GetDomainState(kYahooDomain, true, &domain_state));
70 EXPECT_TRUE(state_.GetDomainState(kYahooDomain, true, &domain_state));
71 EXPECT_EQ(domain_state.upgrade_mode,
73 EXPECT_TRUE(state_.GetDomainState("foo.yahoo.com", true, &domain_state));
74 EXPECT_EQ(domain_state.upgrade_mode,
76 EXPECT_TRUE(state_.GetDomainState("foo.bar.yahoo.com", true, &domain_state));
77 EXPECT_EQ(domain_state.upgrade_mode,
80 &domain_state));
81 EXPECT_EQ(domain_state.upgrade_mode
168 TransportSecurityState::DomainState domain_state; local
    [all...]
transport_security_persister.cc 143 const TransportSecurityState::DomainState& domain_state = local
144 state.domain_state();
148 domain_state.sts_include_subdomains);
150 domain_state.pkp_include_subdomains);
151 serialized->SetDouble(kCreated, domain_state.created.ToDoubleT());
152 serialized->SetDouble(kExpiry, domain_state.upgrade_expiry.ToDoubleT());
154 domain_state.dynamic_spki_hashes_expiry.ToDoubleT());
156 switch (domain_state.upgrade_mode) {
170 SPKIHashesToListValue(domain_state.static_spki_hashes));
172 if (now < domain_state.dynamic_spki_hashes_expiry)
217 TransportSecurityState::DomainState domain_state; local
    [all...]
transport_security_state.cc 611 TransportSecurityState::DomainState domain_state; local
612 GetDynamicDomainState(host, &domain_state);
613 if (ParseHSTSHeader(value, &max_age, &domain_state.sts_include_subdomains)) {
616 domain_state.upgrade_mode = DomainState::MODE_DEFAULT;
618 domain_state.upgrade_mode = DomainState::MODE_FORCE_HTTPS;
619 domain_state.created = now;
620 domain_state.upgrade_expiry = now + max_age;
621 EnableHost(host, domain_state);
634 TransportSecurityState::DomainState domain_state; local
635 GetDynamicDomainState(host, &domain_state);
654 TransportSecurityState::DomainState domain_state; local
677 TransportSecurityState::DomainState domain_state; local
    [all...]
http_security_headers_unittest.cc 453 TransportSecurityState::DomainState domain_state; local
457 EXPECT_TRUE(state.GetDomainState(domain, true, &domain_state));
458 EXPECT_GT(domain_state.static_spki_hashes.size(), 1UL);
459 HashValueVector saved_hashes = domain_state.static_spki_hashes;
504 EXPECT_TRUE(state.GetDomainState(domain, true, &domain_state));
505 EXPECT_EQ(2UL, domain_state.dynamic_spki_hashes.size());
507 hash = std::find_if(domain_state.dynamic_spki_hashes.begin(),
508 domain_state.dynamic_spki_hashes.end(),
510 EXPECT_NE(domain_state.dynamic_spki_hashes.end(), hash);
513 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/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 1334 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 4894 TransportSecurityState::DomainState domain_state; local
4938 TransportSecurityState::DomainState domain_state; local
4971 TransportSecurityState::DomainState domain_state; local
5001 TransportSecurityState::DomainState domain_state; local
5043 TransportSecurityState::DomainState domain_state; local
6163 TransportSecurityState::DomainState domain_state; local
    [all...]
url_request.cc 1010 TransportSecurityState::DomainState domain_state;
1015 &domain_state) &&
1016 domain_state.ShouldUpgradeToSSL())
    [all...]
url_request_http_job.cc 920 TransportSecurityState::DomainState domain_state; local
    [all...]
  /external/chromium_org/net/socket/
ssl_client_socket_nss.cc 3544 TransportSecurityState::DomainState domain_state; local
    [all...]

Completed in 1540 milliseconds