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

Unified Diff: storage/browser/blob/blob_url_request_job.cc

Issue 2670413002: Remove BlobURLRequestJob::GetResponseCode(). (Closed)
Patch Set: Created 3 years, 10 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 | « storage/browser/blob/blob_url_request_job.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/blob/blob_url_request_job.cc
diff --git a/storage/browser/blob/blob_url_request_job.cc b/storage/browser/blob/blob_url_request_job.cc
index 759f323c637b03d10df109d0455b6761caf3ef7e..64c17a9869497b5baca6a46c6b49829ac3283aec 100644
--- a/storage/browser/blob/blob_url_request_job.cc
+++ b/storage/browser/blob/blob_url_request_job.cc
@@ -123,13 +123,6 @@ void BlobURLRequestJob::GetResponseInfo(net::HttpResponseInfo* info) {
*info = *response_info_;
}
-int BlobURLRequestJob::GetResponseCode() const {
- if (!response_info_)
- return -1;
-
- return response_info_->headers->response_code();
-}
-
void BlobURLRequestJob::SetExtraRequestHeaders(
const net::HttpRequestHeaders& headers) {
std::string range_header;
« no previous file with comments | « storage/browser/blob/blob_url_request_job.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698