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

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

Issue 1563633002: Make URLRequestJob::SetStatus private. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to comments Created 4 years, 11 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: 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 783c3866ba55fef0f4015fdec7f8d2940b106350..58863d00355b460ca2a9da6927b74d870f6a948c 100644
--- a/storage/browser/blob/blob_url_request_job.cc
+++ b/storage/browser/blob/blob_url_request_job.cc
@@ -177,7 +177,6 @@ void BlobURLRequestJob::DidStart() {
NotifyFailure(blob_reader_->net_error());
return;
case BlobReader::Status::IO_PENDING:
- SetStatus(net::URLRequestStatus(net::URLRequestStatus::IO_PENDING, 0));
return;
case BlobReader::Status::DONE:
DidCalculateSize(net::OK);
@@ -188,8 +187,6 @@ void BlobURLRequestJob::DidStart() {
void BlobURLRequestJob::DidCalculateSize(int result) {
TRACE_EVENT_ASYNC_END1("Blob", "BlobRequest::CountSize", this, "uuid",
blob_handle_->uuid());
- // Clear the IO_PENDING status
- SetStatus(net::URLRequestStatus());
if (result != net::OK) {
NotifyFailure(result);

Powered by Google App Engine
This is Rietveld 408576698