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

Unified Diff: webkit/tools/test_shell/simple_resource_loader_bridge.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
« no previous file with comments | « webkit/glue/weburlloader_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/simple_resource_loader_bridge.cc
===================================================================
--- webkit/tools/test_shell/simple_resource_loader_bridge.cc (revision 76828)
+++ webkit/tools/test_shell/simple_resource_loader_bridge.cc (working copy)
@@ -250,10 +250,9 @@
}
}
- void NotifyReceivedResponse(const ResourceResponseInfo& info,
- bool content_filtered) {
+ void NotifyReceivedResponse(const ResourceResponseInfo& info) {
if (peer_)
- peer_->OnReceivedResponse(info, content_filtered);
+ peer_->OnReceivedResponse(info);
}
void NotifyReceivedData(int bytes_read) {
@@ -402,10 +401,9 @@
}
virtual void OnReceivedResponse(
- const ResourceResponseInfo& info,
- bool content_filtered) {
+ const ResourceResponseInfo& info) {
owner_loop_->PostTask(FROM_HERE, NewRunnableMethod(
- this, &RequestProxy::NotifyReceivedResponse, info, content_filtered));
+ this, &RequestProxy::NotifyReceivedResponse, info));
}
virtual void OnReceivedData(int bytes_read) {
@@ -449,7 +447,7 @@
if (request->status().is_success()) {
ResourceResponseInfo info;
PopulateResponseInfo(request, &info);
- OnReceivedResponse(info, false);
+ OnReceivedResponse(info);
AsyncReadData(); // start reading
} else {
Done();
@@ -594,9 +592,7 @@
result_->url = new_url;
}
- virtual void OnReceivedResponse(
- const ResourceResponseInfo& info,
- bool content_filtered) {
+ virtual void OnReceivedResponse(const ResourceResponseInfo& info) {
*static_cast<ResourceResponseInfo*>(result_) = info;
}
« no previous file with comments | « webkit/glue/weburlloader_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698