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

Unified Diff: net/http/http_cache_transaction.cc

Issue 12701011: [Net] Propagate priority changes from URLRequest to HttpTransaction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add more tests Created 7 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 | « net/http/http_cache_transaction.h ('k') | net/http/http_cache_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache_transaction.cc
diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc
index 1bf72cb66acff73d8cf24cb5707c76051da2381e..f92a64a1a650b24abbb73d7b970e4e7e022be6a3 100644
--- a/net/http/http_cache_transaction.cc
+++ b/net/http/http_cache_transaction.cc
@@ -465,6 +465,11 @@ bool HttpCache::Transaction::GetLoadTimingInfo(
return false;
}
+void HttpCache::Transaction::SetPriority(RequestPriority priority) {
+ if (network_trans_)
+ network_trans_->SetPriority(priority);
akalin 2013/03/13 18:53:04 One question: can HttpCache::Transaction have mult
mmenke 2013/03/13 19:01:23 RestartNetworkRequest() does this. There may be o
+}
+
//-----------------------------------------------------------------------------
void HttpCache::Transaction::DoCallback(int rv) {
« no previous file with comments | « net/http/http_cache_transaction.h ('k') | net/http/http_cache_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698