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

Unified Diff: net/socket/client_socket_pool.h

Issue 1580903002: Convert ignore_limits from a SocketParam to a socket request argument. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 11 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
Index: net/socket/client_socket_pool.h
diff --git a/net/socket/client_socket_pool.h b/net/socket/client_socket_pool.h
index e1785a3a7c7bf3c9aee0f9e27b21fd57d03e1c18..e26f6a9deb24b0e88e1ef2317e3081632fa6e67d 100644
--- a/net/socket/client_socket_pool.h
+++ b/net/socket/client_socket_pool.h
@@ -96,9 +96,13 @@ class NET_EXPORT ClientSocketPool : public LowerLayeredPool {
// client of completion.
//
// Profiling information for the request is saved to |net_log| if non-NULL.
+ //
+ // If |ignore_limits| is true, priority must be HIGHEST, and the request will
+ // ignore normal socket pool group limits.
virtual int RequestSocket(const std::string& group_name,
const void* params,
RequestPriority priority,
+ bool ignore_limits,
ClientSocketHandle* handle,
const CompletionCallback& callback,
const BoundNetLog& net_log) = 0;

Powered by Google App Engine
This is Rietveld 408576698