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

Unified Diff: net/url_request/url_request.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 | « net/proxy/proxy_script_fetcher_impl.cc ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request.h
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index 5eaf2bdb595a75c067a65a8d8b34c6c10f223a44..67c048d132248e1eebc1a01fcd09aa07f443050b 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -548,15 +548,15 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe) {
// during the call to Cancel itself.
void Cancel();
- // Cancels the request and sets the error to |os_error| (see net_error_list.h
+ // Cancels the request and sets the error to |error| (see net_error_list.h
// for values).
- void SimulateError(int os_error);
+ void SimulateError(int error);
- // Cancels the request and sets the error to |os_error| (see net_error_list.h
+ // Cancels the request and sets the error to |error| (see net_error_list.h
// for values) and attaches |ssl_info| as the SSLInfo for that request. This
// is useful to attach a certificate and certificate error to a canceled
// request.
- void SimulateSSLError(int os_error, const SSLInfo& ssl_info);
+ void SimulateSSLError(int error, const SSLInfo& ssl_info);
// Read initiates an asynchronous read from the response, and must only
// be called after the OnResponseStarted callback is received with a
@@ -696,7 +696,7 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe) {
// Cancels the request and set the error and ssl info for this request to the
// passed values.
- void DoCancel(int os_error, const SSLInfo& ssl_info);
+ void DoCancel(int error, const SSLInfo& ssl_info);
// Notifies the network delegate that the request has been completed.
// This does not imply a successful completion. Also a canceled request is
« no previous file with comments | « net/proxy/proxy_script_fetcher_impl.cc ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698