| Index: webkit/glue/weburlloader_impl.cc
|
| diff --git a/webkit/glue/weburlloader_impl.cc b/webkit/glue/weburlloader_impl.cc
|
| index b64c6a979cf4986583062ac3a2b01341b04d714f..88a8ad81fda242745c9ee7c2f687833eff0ec5b9 100644
|
| --- a/webkit/glue/weburlloader_impl.cc
|
| +++ b/webkit/glue/weburlloader_impl.cc
|
| @@ -285,6 +285,7 @@ class WebURLLoaderImpl::Context : public base::RefCounted<Context>,
|
|
|
| void Cancel();
|
| void SetDefersLoading(bool value);
|
| + void DidChangePriority(WebURLRequest::Priority new_priority);
|
| void Start(
|
| const WebURLRequest& request,
|
| ResourceLoaderBridge::SyncLoadResponse* sync_load_response,
|
| @@ -353,6 +354,12 @@ void WebURLLoaderImpl::Context::SetDefersLoading(bool value) {
|
| bridge_->SetDefersLoading(value);
|
| }
|
|
|
| +void WebURLLoaderImpl::Context::DidChangePriority(
|
| + WebURLRequest::Priority new_priority) {
|
| + if (bridge_.get())
|
| + bridge_->DidChangePriority(new_priority);
|
| +}
|
| +
|
| void WebURLLoaderImpl::Context::Start(
|
| const WebURLRequest& request,
|
| ResourceLoaderBridge::SyncLoadResponse* sync_load_response,
|
| @@ -783,4 +790,8 @@ void WebURLLoaderImpl::setDefersLoading(bool value) {
|
| context_->SetDefersLoading(value);
|
| }
|
|
|
| +void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority) {
|
| + context_->DidChangePriority(new_priority);
|
| +}
|
| +
|
| } // namespace webkit_glue
|
|
|