Index: net/base/winsock_util.h |
diff --git a/net/base/winsock_util.h b/net/base/winsock_util.h |
deleted file mode 100644 |
index 36d670b1a2da3ba0e470584301bf19b220913494..0000000000000000000000000000000000000000 |
--- a/net/base/winsock_util.h |
+++ /dev/null |
@@ -1,29 +0,0 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef NET_BASE_WINSOCK_UTIL_H_ |
-#define NET_BASE_WINSOCK_UTIL_H_ |
- |
-#include <winsock2.h> |
- |
-#include "net/base/net_export.h" |
- |
-namespace net { |
- |
-// Assert that the (manual-reset) event object is not signaled. |
-void AssertEventNotSignaled(WSAEVENT hEvent); |
- |
-// If the (manual-reset) event object is signaled, resets it and returns true. |
-// Otherwise, does nothing and returns false. Called after a Winsock function |
-// succeeds synchronously |
-// |
-// Our testing shows that except in rare cases (when running inside QEMU), |
-// the event object is already signaled at this point, so we call this method |
-// to avoid a context switch in common cases. This is just a performance |
-// optimization. The code still works if this function simply returns false. |
-bool ResetEventIfSignaled(WSAEVENT hEvent); |
- |
-} // namespace net |
- |
-#endif // NET_BASE_WINSOCK_UTIL_H_ |