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

Unified Diff: net/http/http_transaction.h

Issue 12701011: [Net] Propagate priority changes from URLRequest to HttpTransaction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix leaks 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_stream_factory_impl_job.cc ('k') | net/http/http_transaction_unittest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_transaction.h
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h
index 7b4ab991cbc36c866735d8b570d04406a7c38680..c162b0125103e3af00b1473fdebb16b021f515e9 100644
--- a/net/http/http_transaction.h
+++ b/net/http/http_transaction.h
@@ -8,6 +8,7 @@
#include "net/base/completion_callback.h"
#include "net/base/load_states.h"
#include "net/base/net_export.h"
+#include "net/base/request_priority.h"
#include "net/base/upload_progress.h"
namespace net {
@@ -116,6 +117,9 @@ class NET_EXPORT_PRIVATE HttpTransaction {
// |load_timing_info| must have all null times when called. Returns false and
// does not modify |load_timing_info| if not currently connected.
virtual bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const = 0;
+
+ // Called when the priority of the parent job changes.
+ virtual void SetPriority(RequestPriority priority) = 0;
};
} // namespace net
« no previous file with comments | « net/http/http_stream_factory_impl_job.cc ('k') | net/http/http_transaction_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698