Index: net/base/prioritized_dispatcher.h |
=================================================================== |
--- net/base/prioritized_dispatcher.h (revision 212872) |
+++ net/base/prioritized_dispatcher.h (working copy) |
@@ -78,6 +78,8 @@ |
// it is queued in the dispatcher. |
Handle Add(Job* job, Priority priority); |
+ Handle AddAtHead(Job* job, Priority priority); |
szym
2013/08/06 20:35:31
Needs a short comment.
mmenke
2013/08/19 17:31:11
Done.
|
+ |
// Removes the job with |handle| from the queue. Invalidates |handle|. |
// Note: a Handle is valid iff the job is in the queue, i.e. has not Started. |
void Cancel(const Handle& handle); |