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

Unified Diff: net/socket/client_socket_pool_base.h

Issue 15927019: net: Socket pools prioritize requests with ignore_limits (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove bonus spaces. Created 7 years, 7 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 | « no previous file | net/socket/client_socket_pool_base.cc » ('j') | net/socket/client_socket_pool_base.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | net/socket/client_socket_pool_base.cc » ('j') | net/socket/client_socket_pool_base.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698