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

Unified Diff: net/socket/websocket_transport_client_socket_pool.cc

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/websocket_transport_client_socket_pool.cc
diff --git a/net/socket/websocket_transport_client_socket_pool.cc b/net/socket/websocket_transport_client_socket_pool.cc
index 412a63a14d6877ccbfd0ce94c88dd44dc944f8a6..68b6121e8577d75b6c4a5ec46f6027664eb4b539 100644
--- a/net/socket/websocket_transport_client_socket_pool.cc
+++ b/net/socket/websocket_transport_client_socket_pool.cc
@@ -357,6 +357,16 @@ void WebSocketTransportClientSocketPool::RequestSockets(
NOTIMPLEMENTED();
}
+void WebSocketTransportClientSocketPool::SetPriority(
+ const std::string& group_name,
+ ClientSocketHandle* handle,
+ RequestPriority priority) {
+ // Since sockets requested by RequestSocket are bound early, there's
+ // nothing to do within the pool to change priority or the request.
+ // TODO(rdsmith): Investigate plumbing the reprioritization request to the
+ // connect job.
+}
+
void WebSocketTransportClientSocketPool::CancelRequest(
const std::string& group_name,
ClientSocketHandle* handle) {
« net/socket/client_socket_pool_base.cc ('K') | « net/socket/websocket_transport_client_socket_pool.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698