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

Unified Diff: chrome/renderer/extensions/extension_localization_peer.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: chrome/renderer/extensions/extension_localization_peer.cc
diff --git a/chrome/renderer/extensions/extension_localization_peer.cc b/chrome/renderer/extensions/extension_localization_peer.cc
index 14c0d2db03dbba0532019b8772d6b66d52d9ecf0..0e550f70a3eff1208bcd9e0162dc6594a0891db8 100644
--- a/chrome/renderer/extensions/extension_localization_peer.cc
+++ b/chrome/renderer/extensions/extension_localization_peer.cc
@@ -93,7 +93,6 @@ void ExtensionLocalizationPeer::OnCompletedRequest(
int error_code,
bool was_ignored_by_handler,
bool stale_copy_in_cache,
- const std::string& security_info,
const base::TimeTicks& completion_time,
int64_t total_transfer_size) {
// Give sub-classes a chance at altering the data.
@@ -101,8 +100,8 @@ void ExtensionLocalizationPeer::OnCompletedRequest(
// We failed to load the resource.
original_peer_->OnReceivedResponse(response_info_);
original_peer_->OnCompletedRequest(net::ERR_ABORTED, false,
- stale_copy_in_cache, security_info,
- completion_time, total_transfer_size);
+ stale_copy_in_cache, completion_time,
+ total_transfer_size);
return;
}
@@ -112,8 +111,8 @@ void ExtensionLocalizationPeer::OnCompletedRequest(
if (!data_.empty())
original_peer_->OnReceivedData(base::WrapUnique(new StringData(data_)));
original_peer_->OnCompletedRequest(error_code, was_ignored_by_handler,
- stale_copy_in_cache, security_info,
- completion_time, total_transfer_size);
+ stale_copy_in_cache, completion_time,
+ total_transfer_size);
}
void ExtensionLocalizationPeer::ReplaceMessages() {

Powered by Google App Engine
This is Rietveld 408576698