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

Unified Diff: net/socket/socks_client_socket_pool.h

Issue 1898133002: Add reprioritization to socket pools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Plumbed SetPriority down from HttpStreamFactoryImpl::Job. Created 4 years, 8 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/socks_client_socket_pool.h
diff --git a/net/socket/socks_client_socket_pool.h b/net/socket/socks_client_socket_pool.h
index b1371bba1434360821e91b88afdd4fd224d5e625..35d6b4ed0953edf0fded1a5ae5f31da367c64e8a 100644
--- a/net/socket/socks_client_socket_pool.h
+++ b/net/socket/socks_client_socket_pool.h
@@ -131,6 +131,10 @@ class NET_EXPORT_PRIVATE SOCKSClientSocketPool
int num_sockets,
const BoundNetLog& net_log) override;
+ void SetPriority(const std::string& group_name,
+ ClientSocketHandle* handle,
+ RequestPriority priority) override;
+
void CancelRequest(const std::string& group_name,
ClientSocketHandle* handle) override;

Powered by Google App Engine
This is Rietveld 408576698