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

Unified Diff: content/child/resource_dispatcher.cc

Issue 272343003: Remove routing_id parameter from ResourceDispatcher::DidChangePriority(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/resource_dispatcher.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index 9e6e923d9661cc0853d55c1900caea941a058e68..d2acccd4b9fddcd4510948438e5defeefeb1b561 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -215,14 +215,15 @@ void IPCResourceLoaderBridge::SetDefersLoading(bool value) {
}
void IPCResourceLoaderBridge::DidChangePriority(
- net::RequestPriority new_priority, int intra_priority_value) {
+ net::RequestPriority new_priority,
+ int intra_priority_value) {
if (request_id_ < 0) {
NOTREACHED() << "Trying to change priority of an unstarted request";
return;
}
- dispatcher_->DidChangePriority(routing_id_, request_id_, new_priority,
- intra_priority_value);
+ dispatcher_->DidChangePriority(
+ request_id_, new_priority, intra_priority_value);
}
void IPCResourceLoaderBridge::SyncLoad(SyncLoadResponse* response) {
@@ -675,8 +676,7 @@ void ResourceDispatcher::SetDefersLoading(int request_id, bool value) {
}
}
-void ResourceDispatcher::DidChangePriority(int routing_id,
- int request_id,
+void ResourceDispatcher::DidChangePriority(int request_id,
net::RequestPriority new_priority,
int intra_priority_value) {
DCHECK(ContainsKey(pending_requests_, request_id));
« no previous file with comments | « content/child/resource_dispatcher.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698