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

Unified Diff: webkit/glue/resource_loader_bridge.h

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/resource_loader_bridge.h
diff --git a/webkit/glue/resource_loader_bridge.h b/webkit/glue/resource_loader_bridge.h
index 840c802b0fb9deac96cf24bda976367be849a527..7530f4b1362da7aa42b8b213effda90a46801f41 100644
--- a/webkit/glue/resource_loader_bridge.h
+++ b/webkit/glue/resource_loader_bridge.h
@@ -371,6 +371,12 @@ class ResourceLoaderBridge {
// method may only be called after a successful call to the Start method.
virtual void SetDefersLoading(bool value) = 0;
+ // Call this method when the priority of the requested resource changes after
+ // Start() has been called. This method may only be called after a successful
+ // call to the Start method.
+ virtual void DidChangePriority(
+ WebKit::WebURLRequest::Priority new_priority) = 0;
+
// Call this method to load the resource synchronously (i.e., in one shot).
// This is an alternative to the Start method. Be warned that this method
// will block the calling thread until the resource is fully downloaded or an

Powered by Google App Engine
This is Rietveld 408576698