| Index: net/socket/client_socket_handle.cc
|
| diff --git a/net/socket/client_socket_handle.cc b/net/socket/client_socket_handle.cc
|
| index 905128a86aa5bc776be5f065c8832fb834a6d140..3de9fd1eb713e540e73b9f9288fdc6d0eefdd114 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();
|
|
|