Index: net/url_request/url_request_status.cc |
diff --git a/net/url_request/url_request_status.cc b/net/url_request/url_request_status.cc |
index 7207df2fa52818dab4c6da7f0319f3c37b75565f..2a6a2fae861c202a51fc677558a7f3584c286373 100644 |
--- a/net/url_request/url_request_status.cc |
+++ b/net/url_request/url_request_status.cc |
@@ -46,19 +46,4 @@ URLRequestStatus URLRequestStatus::FromError(int error) { |
} |
} |
-Error URLRequestStatus::ToNetError() const { |
- switch (status_) { |
- case SUCCESS: |
- return OK; |
- case IO_PENDING: |
- return ERR_IO_PENDING; |
- case CANCELED: |
- return ERR_ABORTED; |
- case FAILED: |
- return static_cast<Error>(error_); |
- } |
- NOTREACHED(); |
- return ERR_FAILED; |
-} |
- |
} // namespace net |