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

Unified Diff: content/browser/loader/resource_handler.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: content/browser/loader/resource_handler.h
diff --git a/content/browser/loader/resource_handler.h b/content/browser/loader/resource_handler.h
index 9209d13dfe9b85a298fda86d100fdfd5e8a4bfdf..a9ba9fe3404a754330eda8530f0a09c71ac49df7 100644
--- a/content/browser/loader/resource_handler.h
+++ b/content/browser/loader/resource_handler.h
@@ -102,6 +102,10 @@ class CONTENT_EXPORT ResourceHandler
// with OnDataDownloaded calls.
virtual void OnDataDownloaded(int request_id, int bytes_downloaded) = 0;
+ // Called when the priority of the net::URLRequest changes. This may happen if
+ // a WebKit preload becomes an urgent request.
+ virtual void OnRequestPriorityChanged(int request_id) {}
+
protected:
ResourceHandler() : controller_(NULL) {}
ResourceController* controller() { return controller_; }

Powered by Google App Engine
This is Rietveld 408576698