| Index: chrome/browser/renderer_host/buffered_resource_handler.cc
|
| ===================================================================
|
| --- chrome/browser/renderer_host/buffered_resource_handler.cc (revision 9948)
|
| +++ chrome/browser/renderer_host/buffered_resource_handler.cc (working copy)
|
| @@ -69,8 +69,10 @@
|
|
|
|
|
| bool BufferedResourceHandler::OnResponseCompleted(
|
| - int request_id, const URLRequestStatus& status) {
|
| - return real_handler_->OnResponseCompleted(request_id, status);
|
| + int request_id,
|
| + const URLRequestStatus& status,
|
| + const std::string& security_info) {
|
| + return real_handler_->OnResponseCompleted(request_id, status, security_info);
|
| }
|
|
|
| // We'll let the original event handler provide a buffer, and reuse it for
|
| @@ -239,7 +241,7 @@
|
| // own error page instead of triggering a download.
|
| // TODO(abarth): We should abstract the response_code test, but this kind
|
| // of check is scattered throughout our codebase.
|
| - request_->CancelWithError(net::ERR_FILE_NOT_FOUND);
|
| + request_->SimulateError(net::ERR_FILE_NOT_FOUND);
|
| return false;
|
| }
|
|
|
|
|