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

Unified Diff: webkit/child/weburlloader_impl.cc

Issue 146333004: Introduce an intra-priority level sorting value - Chromium Side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Upload again. Created 6 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/child/weburlloader_impl.cc
diff --git a/webkit/child/weburlloader_impl.cc b/webkit/child/weburlloader_impl.cc
index 08857219febad376f6cc332f665f9fcf1a6d9711..e81466f94c22b0af52f276cdcf02cf8ab9786ff7 100644
--- a/webkit/child/weburlloader_impl.cc
+++ b/webkit/child/weburlloader_impl.cc
@@ -223,7 +223,8 @@ class WebURLLoaderImpl::Context : public base::RefCounted<Context>,
void Cancel();
void SetDefersLoading(bool value);
- void DidChangePriority(WebURLRequest::Priority new_priority);
+ void DidChangePriority(WebURLRequest::Priority new_priority,
+ int intra_priority_value);
void Start(
const WebURLRequest& request,
ResourceLoaderBridge::SyncLoadResponse* sync_load_response,
@@ -294,10 +295,10 @@ void WebURLLoaderImpl::Context::SetDefersLoading(bool value) {
}
void WebURLLoaderImpl::Context::DidChangePriority(
- WebURLRequest::Priority new_priority) {
+ WebURLRequest::Priority new_priority, int intra_priority_value) {
if (bridge_)
bridge_->DidChangePriority(
- ConvertWebKitPriorityToNetPriority(new_priority));
+ ConvertWebKitPriorityToNetPriority(new_priority), intra_priority_value);
}
void WebURLLoaderImpl::Context::Start(
@@ -852,8 +853,9 @@ void WebURLLoaderImpl::setDefersLoading(bool value) {
context_->SetDefersLoading(value);
}
-void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority) {
- context_->DidChangePriority(new_priority);
+void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority,
+ int intra_priority_value) {
+ context_->DidChangePriority(new_priority, intra_priority_value);
}
} // namespace webkit_glue
« content/browser/loader/resource_scheduler.cc ('K') | « webkit/child/weburlloader_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698