summaryrefslogtreecommitdiff
path: root/chromium/net/socket/tcp_socket_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/socket/tcp_socket_win.h')
-rw-r--r--chromium/net/socket/tcp_socket_win.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/chromium/net/socket/tcp_socket_win.h b/chromium/net/socket/tcp_socket_win.h
index 1b2ad4ebc84..36fcb08f330 100644
--- a/chromium/net/socket/tcp_socket_win.h
+++ b/chromium/net/socket/tcp_socket_win.h
@@ -17,7 +17,7 @@
#include "net/base/address_family.h"
#include "net/base/completion_once_callback.h"
#include "net/base/net_export.h"
-#include "net/base/network_change_notifier.h"
+#include "net/base/network_handle.h"
#include "net/log/net_log_with_source.h"
#include "net/socket/socket_descriptor.h"
#include "net/socket/socket_performance_watcher.h"
@@ -123,11 +123,6 @@ class NET_EXPORT TCPSocketWin : public base::win::ObjectWatcher::Delegate {
const NetLogWithSource& net_log() const { return net_log_; }
- // Opens the socket and returns the underlying SocketDescriptor as well as the
- // result of Open(). This method is used by the socket broker.
- static int OpenAndReleaseSocketDescriptor(AddressFamily family,
- SocketDescriptor* out);
-
// Return the underlying SocketDescriptor and clean up this object, which may
// no longer be used. This method should be used only for testing. No read,
// write, or accept operations should be pending.
@@ -141,7 +136,7 @@ class NET_EXPORT TCPSocketWin : public base::win::ObjectWatcher::Delegate {
void ApplySocketTag(const SocketTag& tag);
// Not implemented. Returns ERR_NOT_IMPLEMENTED.
- int BindToNetwork(NetworkChangeNotifier::NetworkHandle network);
+ int BindToNetwork(handles::NetworkHandle network);
// May return nullptr.
SocketPerformanceWatcher* socket_performance_watcher() const {