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

Unified Diff: chrome/common/extensions/extension_localization_peer.cc

Issue 6621006: Take out the is_content_filtered bool that gets passed around betwen renderer... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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/common/extensions/extension_localization_peer.cc
===================================================================
--- chrome/common/extensions/extension_localization_peer.cc (revision 76828)
+++ chrome/common/extensions/extension_localization_peer.cc (working copy)
@@ -55,8 +55,7 @@
}
void ExtensionLocalizationPeer::OnReceivedResponse(
- const webkit_glue::ResourceResponseInfo& info,
- bool content_filtered) {
+ const webkit_glue::ResourceResponseInfo& info) {
response_info_ = info;
}
@@ -74,7 +73,7 @@
// Give sub-classes a chance at altering the data.
if (status.status() != net::URLRequestStatus::SUCCESS) {
// We failed to load the resource.
- original_peer_->OnReceivedResponse(response_info_, true);
+ original_peer_->OnReceivedResponse(response_info_);
net::URLRequestStatus status(net::URLRequestStatus::CANCELED,
net::ERR_ABORTED);
original_peer_->OnCompletedRequest(status, security_info, completion_time);
@@ -83,7 +82,7 @@
ReplaceMessages();
- original_peer_->OnReceivedResponse(response_info_, true);
+ original_peer_->OnReceivedResponse(response_info_);
if (!data_.empty())
original_peer_->OnReceivedData(data_.data(),
static_cast<int>(data_.size()));

Powered by Google App Engine
This is Rietveld 408576698