diff options
Diffstat (limited to 'content/browser/loader/certificate_resource_handler.cc')
-rw-r--r-- | content/browser/loader/certificate_resource_handler.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/content/browser/loader/certificate_resource_handler.cc b/content/browser/loader/certificate_resource_handler.cc index d850b19..1688d72 100644 --- a/content/browser/loader/certificate_resource_handler.cc +++ b/content/browser/loader/certificate_resource_handler.cc @@ -19,7 +19,7 @@ namespace content { CertificateResourceHandler::CertificateResourceHandler( net::URLRequest* request) - : request_(request), + : ResourceHandler(request), content_length_(0), read_buffer_(NULL), resource_buffer_(NULL), @@ -57,7 +57,7 @@ bool CertificateResourceHandler::OnWillStart(int request_id, } bool CertificateResourceHandler::OnWillRead(int request_id, - net::IOBuffer** buf, + scoped_refptr<net::IOBuffer>* buf, int* buf_size, int min_size) { static const int kReadBufSize = 32768; @@ -108,9 +108,9 @@ bool CertificateResourceHandler::OnResponseCompleted( // Note that it's up to the browser to verify that the certificate // data is well-formed. - const ResourceRequestInfo* info = ResourceRequestInfo::ForRequest(request_); + const ResourceRequestInfo* info = GetRequestInfo(); GetContentClient()->browser()->AddCertificate( - request_, cert_type_, content_bytes, content_length_, + request(), cert_type_, content_bytes, content_length_, info->GetChildID(), info->GetRouteID()); return true; |