Chromium Code Reviews| Index: net/socket/client_socket_pool_base.h |
| =================================================================== |
| --- net/socket/client_socket_pool_base.h (revision 203448) |
| +++ net/socket/client_socket_pool_base.h (working copy) |
| @@ -443,6 +443,10 @@ |
| typedef std::map<const ClientSocketHandle*, CallbackResultPair> |
| PendingCallbackMap; |
| + // Inserts the request into the queue based on order they will receive |
| + // sockets. Sockets which ignore the socket pool limits are first. Then |
|
eroman
2013/06/04 20:42:21
[no action necessary] my impression is that it is
mmenke
2013/06/05 04:32:24
You're definitely right about single space comment
|
| + // requests are sorted by priority, with higher priorities closer to the |
| + // front. Older requests are prioritized over requests of equal priority. |
| static void InsertRequestIntoQueue(const Request* r, |
| RequestQueue* pending_requests); |
| static const Request* RemoveRequestFromQueue(const RequestQueue::iterator& it, |