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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 220553002: Revert of Introduce an intra-priority level sorting value - Chromium Side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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
« no previous file with comments | « content/child/web_url_loader_impl.h ('k') | content/common/resource_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_url_loader_impl.cc
diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
index 52e591527c26dfa1dca44e15863415e233cefd19..b11a537b8f7dd571434171aefdcc364b0fb37052 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -229,8 +229,7 @@
void Cancel();
void SetDefersLoading(bool value);
- void DidChangePriority(WebURLRequest::Priority new_priority,
- int intra_priority_value);
+ void DidChangePriority(WebURLRequest::Priority new_priority);
void Start(const WebURLRequest& request,
ResourceLoaderBridge::SyncLoadResponse* sync_load_response);
@@ -301,10 +300,10 @@
}
void WebURLLoaderImpl::Context::DidChangePriority(
- WebURLRequest::Priority new_priority, int intra_priority_value) {
+ WebURLRequest::Priority new_priority) {
if (bridge_)
bridge_->DidChangePriority(
- ConvertWebKitPriorityToNetPriority(new_priority), intra_priority_value);
+ ConvertWebKitPriorityToNetPriority(new_priority));
}
void WebURLLoaderImpl::Context::Start(
@@ -867,9 +866,8 @@
context_->SetDefersLoading(value);
}
-void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority,
- int intra_priority_value) {
- context_->DidChangePriority(new_priority, intra_priority_value);
+void WebURLLoaderImpl::didChangePriority(WebURLRequest::Priority new_priority) {
+ context_->DidChangePriority(new_priority);
}
} // namespace content
« no previous file with comments | « content/child/web_url_loader_impl.h ('k') | content/common/resource_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698