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

Unified Diff: content/browser/streams/stream_url_request_job.cc

Issue 2822593003: Remove URLRequestJob::GetResponseCode implementations (Closed)
Patch Set: Fix Created 3 years, 8 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
Index: content/browser/streams/stream_url_request_job.cc
diff --git a/content/browser/streams/stream_url_request_job.cc b/content/browser/streams/stream_url_request_job.cc
index f6ea712a4cb4f543262802ad99725b8e04b77d11..b9714b1cb1e23b1a403eede734ddd00bef36606e 100644
--- a/content/browser/streams/stream_url_request_job.cc
+++ b/content/browser/streams/stream_url_request_job.cc
@@ -138,13 +138,6 @@ void StreamURLRequestJob::GetResponseInfo(net::HttpResponseInfo* info) {
*info = *response_info_;
}
-int StreamURLRequestJob::GetResponseCode() const {
- if (!response_info_)
- return -1;
-
- return response_info_->headers->response_code();
-}
-
tyoshino (SeeGerritForStatus) 2017/04/18 05:06:54 OK, but it looks URLRequestJob looks at URLRequest
int64_t StreamURLRequestJob::GetTotalReceivedBytes() const {
int64_t total_received_bytes = 0;
if (response_info_)
« no previous file with comments | « content/browser/streams/stream_url_request_job.h ('k') | storage/browser/fileapi/file_system_url_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698