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

Unified Diff: chrome_frame/urlmon_url_request_private.h

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
« no previous file with comments | « chrome_frame/test/url_request_test.cc ('k') | content/browser/download/download_resource_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/urlmon_url_request_private.h
diff --git a/chrome_frame/urlmon_url_request_private.h b/chrome_frame/urlmon_url_request_private.h
index adf818da09f97b36d513232562777bddaa4db5a5..f378d8f0aa356bc2d8f6d6d38d917dc7ba8f34cf 100644
--- a/chrome_frame/urlmon_url_request_private.h
+++ b/chrome_frame/urlmon_url_request_private.h
@@ -210,15 +210,15 @@ class UrlmonUrlRequest
return result_;
}
- void set_result(net::URLRequestStatus::Status status, int os_error) {
+ void set_result(net::URLRequestStatus::Status status, int error) {
result_.set_status(status);
- result_.set_os_error(os_error);
+ result_.set_error(error);
}
void set_result(HRESULT hr) {
result_.set_status(FAILED(hr)? net::URLRequestStatus::FAILED:
net::URLRequestStatus::SUCCESS);
- result_.set_os_error(HresultToNetError(hr));
+ result_.set_error(HresultToNetError(hr));
}
private:
« no previous file with comments | « chrome_frame/test/url_request_test.cc ('k') | content/browser/download/download_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698