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

Unified Diff: content/browser/loader/redirect_to_file_resource_handler.cc

Issue 2315443003: Stop sending serialized SSLStatus to the renderer. (Closed)
Patch Set: self review fix and merge fix Created 4 years, 3 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/loader/redirect_to_file_resource_handler.cc
diff --git a/content/browser/loader/redirect_to_file_resource_handler.cc b/content/browser/loader/redirect_to_file_resource_handler.cc
index df246069b598ffe570f41d1a92934db7f4f6401b..7ddcdded6b374369bf5c64b16c58e5ba4c2ca12b 100644
--- a/content/browser/loader/redirect_to_file_resource_handler.cc
+++ b/content/browser/loader/redirect_to_file_resource_handler.cc
@@ -228,17 +228,15 @@ bool RedirectToFileResourceHandler::OnReadCompleted(int bytes_read,
void RedirectToFileResourceHandler::OnResponseCompleted(
const net::URLRequestStatus& status,
- const std::string& security_info,
bool* defer) {
if (writer_ && writer_->is_writing()) {
completed_during_write_ = true;
completed_status_ = status;
- completed_security_info_ = security_info;
did_defer_ = true;
*defer = true;
return;
}
- next_handler_->OnResponseCompleted(status, security_info, defer);
+ next_handler_->OnResponseCompleted(status, defer);
}
void RedirectToFileResourceHandler::DidCreateTemporaryFile(
@@ -295,9 +293,7 @@ void RedirectToFileResourceHandler::DidWriteToFile(int result) {
// this should run even in the |failed| case above, otherwise a failed write
// leaves the handler stuck.
bool defer = false;
- next_handler_->OnResponseCompleted(completed_status_,
- completed_security_info_,
- &defer);
+ next_handler_->OnResponseCompleted(completed_status_, &defer);
if (!defer) {
ResumeIfDeferred();
} else {
« no previous file with comments | « content/browser/loader/redirect_to_file_resource_handler.h ('k') | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698