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

Unified Diff: webkit/glue/weburlloader_impl.cc

Issue 12243002: Pass WebKit priority changes and parsing messages up to the browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
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
« content/public/browser/resource_throttle.h ('K') | « webkit/glue/weburlloader_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698