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

Unified Diff: webkit/glue/weburlloader_impl.cc

Issue 7669009: Reland 97048 - Update routing id of pending resource requests for reparented iframes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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.h ('k') | webkit/tools/test_shell/simple_resource_loader_bridge.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/weburlloader_impl.cc
===================================================================
--- webkit/glue/weburlloader_impl.cc (revision 97077)
+++ webkit/glue/weburlloader_impl.cc (working copy)
@@ -263,6 +263,7 @@
void Start(
const WebURLRequest& request,
ResourceLoaderBridge::SyncLoadResponse* sync_load_response);
+ void UpdateRoutingId(int new_routing_id);
// ResourceLoaderBridge::Peer methods:
virtual void OnUploadProgress(uint64 position, uint64 size);
@@ -324,6 +325,11 @@
bridge_->SetDefersLoading(value);
}
+void WebURLLoaderImpl::Context::UpdateRoutingId(int new_routing_id) {
+ if (bridge_.get())
+ bridge_->UpdateRoutingId(new_routing_id);
+}
+
void WebURLLoaderImpl::Context::Start(
const WebURLRequest& request,
ResourceLoaderBridge::SyncLoadResponse* sync_load_response) {
@@ -729,4 +735,8 @@
context_->SetDefersLoading(value);
}
+void WebURLLoaderImpl::UpdateRoutingId(int new_routing_id) {
+ context_->UpdateRoutingId(new_routing_id);
+}
+
} // namespace webkit_glue
« no previous file with comments | « webkit/glue/weburlloader_impl.h ('k') | webkit/tools/test_shell/simple_resource_loader_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698