Home | History | Annotate | Download | only in ssl

Lines Matching refs:handler

44 void SSLPolicy::OnCertError(SSLCertErrorHandler* handler) {
47 backend_->QueryPolicy(handler->ssl_info().cert,
48 handler->request_url().host());
51 handler->ContinueRequest();
59 switch (handler->cert_error()) {
64 OnCertErrorInternal(handler, SSLBlockingPage::ERROR_OVERRIDABLE);
68 handler->ContinueRequest();
73 handler->ContinueRequest();
79 OnCertErrorInternal(handler, SSLBlockingPage::ERROR_FATAL);
83 handler->CancelRequest();
163 SSLErrorInfo SSLPolicy::GetSSLErrorInfo(SSLCertErrorHandler* handler) {
165 SSLErrorInfo::NetErrorToErrorType(handler->cert_error()),
166 handler->ssl_info().cert, handler->request_url());
169 void SSLPolicy::OnDenyCertificate(SSLCertErrorHandler* handler) {
175 backend_->DenyCertForHost(handler->ssl_info().cert,
176 handler->request_url().host());
177 handler->CancelRequest();
180 void SSLPolicy::OnAllowCertificate(SSLCertErrorHandler* handler) {
191 backend_->AllowCertForHost(handler->ssl_info().cert,
192 handler->request_url().host());
193 handler->ContinueRequest();
199 void SSLPolicy::OnCertErrorInternal(SSLCertErrorHandler* handler,
201 if (handler->resource_type() != ResourceType::MAIN_FRAME) {
206 handler->DenyRequest();
209 SSLBlockingPage* blocking_page = new SSLBlockingPage(handler, this,