| Index: net/socket/client_socket_handle.cc
|
| diff --git a/net/socket/client_socket_handle.cc b/net/socket/client_socket_handle.cc
|
| index be58c7296d62c1b763888f0392edb43174f1a931..7957f4388fdf84083eeb2909503fcc6074ae24f6 100644
|
| --- a/net/socket/client_socket_handle.cc
|
| +++ b/net/socket/client_socket_handle.cc
|
| @@ -31,6 +31,17 @@ ClientSocketHandle::~ClientSocketHandle() {
|
| Reset();
|
| }
|
|
|
| +void ClientSocketHandle::SetPriority(RequestPriority priority) {
|
| + if (socket_) {
|
| + // The priority of the handle is no longer relevant to the socket pool;
|
| + // just return.
|
| + return;
|
| + }
|
| +
|
| + if (pool_)
|
| + pool_->SetPriority(group_name_, this, priority);
|
| +}
|
| +
|
| void ClientSocketHandle::Reset() {
|
| ResetInternal(true);
|
| ResetErrorState();
|
|
|