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 |