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

Unified Diff: net/url_request/url_request_status.h

Issue 1459333002: Revert "Reland: URLRequestJob: change ReadRawData contract" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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_simple_job.cc ('k') | net/url_request/url_request_status.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_status.h
diff --git a/net/url_request/url_request_status.h b/net/url_request/url_request_status.h
index 694c51004cf22fe4f5f8f53b95b30068589f3f5e..44a5d22bf04cdbfe736f08f80e42c22a1111acbe 100644
--- a/net/url_request/url_request_status.h
+++ b/net/url_request/url_request_status.h
@@ -5,7 +5,6 @@
#ifndef NET_URL_REQUEST_URL_REQUEST_STATUS_H_
#define NET_URL_REQUEST_URL_REQUEST_STATUS_H_
-#include "net/base/net_errors.h"
#include "net/base/net_export.h"
namespace net {
@@ -42,13 +41,6 @@ class NET_EXPORT URLRequestStatus {
// deprecated. See https://crbug.com/490311.
static URLRequestStatus FromError(int error);
- // Returns a Error corresponding to |status_|.
- // OK for OK
- // ERR_IO_PENDING for IO_PENDING
- // ERR_ABORTED for CANCELLED
- // Error for FAILED
- Error ToNetError() const;
-
Status status() const { return status_; }
int error() const { return error_; }
« no previous file with comments | « net/url_request/url_request_simple_job.cc ('k') | net/url_request/url_request_status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698