Lines Matching refs:handler
34 void SSLPolicy::OnCertError(SSLCertErrorHandler* handler) {
37 DCHECK(handler->ssl_info().is_valid());
39 backend_->QueryPolicy(*handler->ssl_info().cert.get(),
40 handler->request_url().host(),
41 handler->cert_error(),
45 handler->ContinueRequest();
52 switch (handler->cert_error()) {
59 if (!handler->fatal())
65 OnCertErrorInternal(handler, options_mask);
69 handler->ContinueRequest();
74 handler->ContinueRequest();
81 if (handler->fatal())
85 OnCertErrorInternal(handler, options_mask);
89 handler->CancelRequest();
163 void SSLPolicy::OnAllowCertificate(scoped_refptr<SSLCertErrorHandler> handler,
165 DCHECK(handler->ssl_info().is_valid());
177 backend_->AllowCertForHost(*handler->ssl_info().cert.get(),
178 handler->request_url().host(),
179 handler->cert_error());
180 handler->ContinueRequest();
183 handler->CancelRequest();
190 void SSLPolicy::OnCertErrorInternal(SSLCertErrorHandler* handler,
199 handler->render_process_id(),
200 handler->render_frame_id(),
201 handler->cert_error(),
202 handler->ssl_info(),
203 handler->request_url(),
204 handler->resource_type(),
210 make_scoped_refptr(handler)),
216 handler->CancelRequest();
219 handler->DenyRequest();