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

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: 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
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..00d8aa4d0675371ed199377a61f57c3771f39c1f 100644
--- a/net/http/http_cache_transaction.cc
+++ b/net/http/http_cache_transaction.cc
@@ -465,6 +465,12 @@ bool HttpCache::Transaction::GetLoadTimingInfo(
return false;
}
+void HttpCache::Transaction::SetPriority(RequestPriority priority) {
+ net_log_.AddEvent(NetLog::TYPE_HTTP_CACHE_SET_PRIORITY,
+ NetLog::IntegerCallback("priority", priority));
mmenke 2013/03/12 18:40:22 Same comment goes here as for the HttpNetworkTrans
akalin 2013/03/12 22:08:28 Done.
+ // Do nothing for now.
mmenke 2013/03/12 18:40:22 The cache transaction wraps the network transactio
akalin 2013/03/12 22:08:28 Oh! Done.
+}
+
//-----------------------------------------------------------------------------
void HttpCache::Transaction::DoCallback(int rv) {

Powered by Google App Engine
This is Rietveld 408576698