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

Unified Diff: webkit/glue/weburlloader_impl.cc

Issue 7647003: Update routing id of pending resource requests for reparented iframes. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed Copyright that presubmit complains about. 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
diff --git a/webkit/glue/weburlloader_impl.cc b/webkit/glue/weburlloader_impl.cc
index 102761cc3595ff4d2405340d471286afe4e99ab8..97ada31cdf2520b17ecbf9b2797e1bf800c3b97a 100644
--- a/webkit/glue/weburlloader_impl.cc
+++ b/webkit/glue/weburlloader_impl.cc
@@ -263,6 +263,7 @@ class WebURLLoaderImpl::Context : public base::RefCounted<Context>,
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 @@ void WebURLLoaderImpl::Context::SetDefersLoading(bool value) {
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 @@ void WebURLLoaderImpl::setDefersLoading(bool value) {
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