diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-22 20:17:46 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-22 20:17:46 +0000 |
commit | 5033ab8cdfdfd67f92195f6b9d7a71e35ffa0090 (patch) | |
tree | df91bd6e3b25a948557026a559833531922df6e3 /net/http/http_transaction.h | |
parent | f43fba7ce6713432a8301aee47e9a7030ddca082 (diff) | |
download | chromium_src-5033ab8cdfdfd67f92195f6b9d7a71e35ffa0090.zip chromium_src-5033ab8cdfdfd67f92195f6b9d7a71e35ffa0090.tar.gz chromium_src-5033ab8cdfdfd67f92195f6b9d7a71e35ffa0090.tar.bz2 |
[Net] Propagate priority changes from URLRequest to HttpTransaction
This is in preparation for propagating priority changes from
ResourceScheduler all the way to HostResolver and ClientSocketPool.
Add some NetLog events and parameters for priority.
BUG=166689
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=189829
Review URL: https://codereview.chromium.org/12701011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189894 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_transaction.h')
-rw-r--r-- | net/http/http_transaction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h index 7b4ab99..c162b01 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 |