Home
last modified time | relevance | path

Searched refs:DomainState (Results 1 – 7 of 7) sorted by relevance

/external/chromium/net/base/
Dtransport_security_state.cc40 const DomainState& state) { in EnableHost()
48 DomainState temp; in EnableHost()
53 DomainState state_copy(state); in EnableHost()
54 DomainState existing_state; in EnableHost()
71 std::map<std::string, DomainState>::iterator i = enabled_hosts_.find( in DeleteHost()
87 bool TransportSecurityState::IsEnabledForHost(DomainState* result, in IsEnabledForHost()
95 return result->mode != DomainState::MODE_NONE; in IsEnabledForHost()
97 *result = DomainState(); in IsEnabledForHost()
104 std::map<std::string, DomainState>::iterator j = in IsEnabledForHost()
133 std::map<std::string, DomainState>::iterator i = enabled_hosts_.begin(); in DeleteSince()
[all …]
Dtransport_security_state.h32 struct DomainState { struct
51 DomainState(); argument
52 ~DomainState();
73 void EnableHost(const std::string& host, const DomainState& state); argument
81 bool IsEnabledForHost(DomainState* result,
129 DomainState* out);
132 std::map<std::string, DomainState>* out);
137 std::map<std::string, DomainState> enabled_hosts_;
Dtransport_security_state_unittest.cc145 TransportSecurityState::DomainState domain_state; in TEST_F()
158 TransportSecurityState::DomainState domain_state; in TEST_F()
171 TransportSecurityState::DomainState domain_state; in TEST_F()
184 TransportSecurityState::DomainState domain_state; in TEST_F()
217 TransportSecurityState::DomainState domain_state; in TEST_F()
222 domain_state.mode = TransportSecurityState::DomainState::MODE_STRICT; in TEST_F()
233 EXPECT_EQ(domain_state.mode, TransportSecurityState::DomainState::MODE_STRICT); in TEST_F()
235 EXPECT_EQ(domain_state.mode, TransportSecurityState::DomainState::MODE_STRICT); in TEST_F()
239 EXPECT_EQ(domain_state.mode, TransportSecurityState::DomainState::MODE_STRICT); in TEST_F()
243 EXPECT_EQ(domain_state.mode, TransportSecurityState::DomainState::MODE_STRICT); in TEST_F()
[all …]
/external/chromium/net/socket_stream/
Dsocket_stream_job.cc27 TransportSecurityState::DomainState domain_state; in CreateSocketStreamJob()
32 domain_state.mode == TransportSecurityState::DomainState::MODE_STRICT) { in CreateSocketStreamJob()
/external/chromium/net/url_request/
Durl_request_http_job.cc72 TransportSecurityState::DomainState domain_state; in ProbeComplete()
75 TransportSecurityState::DomainState::MODE_OPPORTUNISTIC; in ProbeComplete()
180 TransportSecurityState::DomainState domain_state; in Factory()
188 TransportSecurityState::DomainState::MODE_STRICT) { in Factory()
517 TransportSecurityState::DomainState domain_state; in ProcessStrictTransportSecurityHeader()
519 domain_state.mode = TransportSecurityState::DomainState::MODE_STRICT; in ProcessStrictTransportSecurityHeader()
541 TransportSecurityState::DomainState domain_state; in ProcessStrictTransportSecurityHeader()
544 TransportSecurityState::DomainState::MODE_SPDY_ONLY; in ProcessStrictTransportSecurityHeader()
664 TransportSecurityState::DomainState domain_state; in OnStartCompleted()
720 TransportSecurityState::DomainState domain_state; in ShouldTreatAsCertificateError()
[all …]
/external/chromium/net/websockets/
Dwebsocket_job_unittest.cc162 TransportSecurityState::DomainState state; in MockURLRequestContext()
/external/chromium/chrome/browser/ui/webui/
Dnet_internals_ui.cc1069 net::TransportSecurityState::DomainState state; in OnHSTSQuery()
1120 net::TransportSecurityState::DomainState state; in OnHSTSAdd()