Index: net/socket/client_socket_handle.cc |
diff --git a/net/socket/client_socket_handle.cc b/net/socket/client_socket_handle.cc |
index 77026d5af2fdfb13b639bb1f1ee5240fd897e7a6..5431cbbec6bab4a84330caa4b43c9467a0939f8c 100644 |
--- a/net/socket/client_socket_handle.cc |
+++ b/net/socket/client_socket_handle.cc |
@@ -12,6 +12,7 @@ |
#include "base/logging.h" |
#include "base/trace_event/trace_event.h" |
#include "net/base/net_errors.h" |
+#include "net/log/net_log_event_type.h" |
#include "net/socket/client_socket_pool.h" |
namespace net { |
@@ -41,7 +42,7 @@ void ClientSocketHandle::ResetInternal(bool cancel) { |
CHECK(pool_); |
if (is_initialized()) { |
if (socket_) { |
- socket_->NetLog().EndEvent(NetLog::TYPE_SOCKET_IN_USE); |
+ socket_->NetLog().EndEvent(NetLogEventType::SOCKET_IN_USE); |
// Release the socket back to the ClientSocketPool so it can be |
// deleted or reused. |
pool_->ReleaseSocket(group_name_, std::move(socket_), pool_id_); |
@@ -168,7 +169,7 @@ void ClientSocketHandle::HandleInitCompletion(int result) { |
// used to layer sockets (and the destination sources are the same). |
DCHECK(socket_.get()); |
socket_->NetLog().BeginEvent( |
- NetLog::TYPE_SOCKET_IN_USE, |
+ NetLogEventType::SOCKET_IN_USE, |
requesting_source_.ToEventParametersCallback()); |
} |