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

Unified Diff: headless/public/util/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
« no previous file with comments | « headless/public/util/url_fetcher.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/public/util/url_fetcher.cc
diff --git a/headless/public/util/url_fetcher.cc b/headless/public/util/url_fetcher.cc
index 8d8d33fc239a0a0c5026a859b96835304bea059d..70256e6ae9043987c8ed766ce5a95de5b99790b4 100644
--- a/headless/public/util/url_fetcher.cc
+++ b/headless/public/util/url_fetcher.cc
@@ -14,7 +14,6 @@ namespace headless {
void URLFetcher::ResultListener::OnFetchCompleteExtractHeaders(
const GURL& final_url,
- int http_response_code,
const char* response_data,
size_t response_data_size) {
size_t read_offset = 0;
@@ -32,7 +31,7 @@ void URLFetcher::ResultListener::OnFetchCompleteExtractHeaders(
}
CHECK_LE(read_offset, response_data_size);
- OnFetchComplete(final_url, http_response_code, std::move(response_headers),
+ OnFetchComplete(final_url, std::move(response_headers),
response_data + read_offset,
response_data_size - read_offset);
}
« no previous file with comments | « headless/public/util/url_fetcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698