Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(799)

Unified Diff: chrome/common/security_filter_peer.cc

Issue 269064: Set os_error to net::ERR_ABORTED instead of 0 or net::ERR_FAILED when... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/security_filter_peer.cc
===================================================================
--- chrome/common/security_filter_peer.cc (revision 29192)
+++ chrome/common/security_filter_peer.cc (working copy)
@@ -192,7 +192,7 @@
if (status.status() != URLRequestStatus::SUCCESS || !DataReady()) {
// Pretend we failed to load the resource.
original_peer_->OnReceivedResponse(response_info_, true);
- URLRequestStatus status(URLRequestStatus::CANCELED, 0);
+ URLRequestStatus status(URLRequestStatus::CANCELED, net::ERR_ABORTED);
original_peer_->OnCompletedRequest(status, security_info);
return;
}
« no previous file with comments | « chrome/browser/renderer_host/resource_dispatcher_host.cc ('k') | webkit/glue/media/buffered_data_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698