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

Unified Diff: content/browser/download/download_resource_handler.cc

Issue 7846007: net: Rename URLRequestStatus::os_error_. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix os_error_code Created 9 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
Index: content/browser/download/download_resource_handler.cc
diff --git a/content/browser/download/download_resource_handler.cc b/content/browser/download/download_resource_handler.cc
index c6c86ecbcf5ab88cb54f281cceed94942ca5f6c4..def24e129c3dda6e3590b562fdb577b9de64ecc2 100644
--- a/content/browser/download/download_resource_handler.cc
+++ b/content/browser/download/download_resource_handler.cc
@@ -181,9 +181,9 @@ bool DownloadResourceHandler::OnResponseCompleted(
VLOG(20) << __FUNCTION__ << "()" << DebugString()
<< " request_id = " << request_id
<< " status.status() = " << status.status()
- << " status.os_error() = " << status.os_error();
+ << " status.error() = " << status.error();
net::Error error_code = (status.status() == net::URLRequestStatus::FAILED) ?
- static_cast<net::Error>(status.os_error()) : net::OK;
+ static_cast<net::Error>(status.error()) : net::OK;
// We transfer ownership to |DownloadFileManager| to delete |buffer_|,
// so that any functions queued up on the FILE thread are executed
// before deletion.
« no previous file with comments | « chrome_frame/urlmon_url_request_private.h ('k') | content/browser/renderer_host/resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698