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

Unified Diff: net/url_request/url_request_job.cc

Issue 222009: Replace some net::ERR_FAILED generic error codes with more specific codes.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Address wtc's comments Created 11 years, 3 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
« no previous file with comments | « net/url_request/url_request_http_job.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_job.cc
===================================================================
--- net/url_request/url_request_job.cc (revision 26789)
+++ net/url_request/url_request_job.cc (working copy)
@@ -302,8 +302,8 @@
}
case Filter::FILTER_ERROR: {
filter_needs_more_output_space_ = false;
- // TODO(jar): Figure out a better error code.
- NotifyDone(URLRequestStatus(URLRequestStatus::FAILED, net::ERR_FAILED));
+ NotifyDone(URLRequestStatus(URLRequestStatus::FAILED,
+ net::ERR_CONTENT_DECODING_FAILED));
rv = false;
break;
}
« no previous file with comments | « net/url_request/url_request_http_job.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698