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

Unified Diff: headless/public/util/http_url_fetcher.cc

Issue 2824813002: Remove URLRequestJob::GetResponseCode implementations. (Closed)
Patch Set: Fix more stuff 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: headless/public/util/http_url_fetcher.cc
diff --git a/headless/public/util/http_url_fetcher.cc b/headless/public/util/http_url_fetcher.cc
index ac40607cffb3bc4f2ad3d37487d146e9b0d56942..f21052bfc28a2a794fd76b69b94e942092070755 100644
--- a/headless/public/util/http_url_fetcher.cc
+++ b/headless/public/util/http_url_fetcher.cc
@@ -182,8 +182,7 @@ void HttpURLFetcher::Delegate::OnResponseCompleted(net::URLRequest* request,
// |request->response_info()| that we drop here. Find a way to pipe it
// through.
result_listener_->OnFetchComplete(
- request->url(), request->GetResponseCode(),
- request->response_info().headers,
+ request->url(), request->response_info().headers,
bytes_read_so_far_.c_str(), bytes_read_so_far_.size());
}
« no previous file with comments | « headless/public/util/generic_url_request_job_test.cc ('k') | headless/public/util/testing/generic_url_request_mocks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698