Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: net/socket/tcp_socket.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/tcp_server_socket_unittest.cc ('k') | net/socket/tcp_socket_libevent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/tcp_socket.h
diff --git a/net/socket/tcp_socket.h b/net/socket/tcp_socket.h
deleted file mode 100644
index 04fd7d2ba6f7c64ea564bba56b76070d67d6daa0..0000000000000000000000000000000000000000
--- a/net/socket/tcp_socket.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2013 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_SOCKET_TCP_SOCKET_H_
-#define NET_SOCKET_TCP_SOCKET_H_
-
-#include "build/build_config.h"
-#include "net/base/net_export.h"
-
-#if defined(OS_WIN)
-#include "net/socket/tcp_socket_win.h"
-#elif defined(OS_POSIX)
-#include "net/socket/tcp_socket_libevent.h"
-#endif
-
-namespace net {
-
-// TCPSocket provides a platform-independent interface for TCP sockets.
-//
-// It is recommended to use TCPClientSocket/TCPServerSocket instead of this
-// class, unless a clear separation of client and server socket functionality is
-// not suitable for your use case (e.g., a socket needs to be created and bound
-// before you know whether it is a client or server socket).
-#if defined(OS_WIN)
-typedef TCPSocketWin TCPSocket;
-#elif defined(OS_POSIX)
-typedef TCPSocketLibevent TCPSocket;
-#endif
-
-// Check if TCP FastOpen is supported by the OS.
-bool IsTCPFastOpenSupported();
-
-// Check if TCP FastOpen is enabled by the user.
-bool IsTCPFastOpenUserEnabled();
-
-// Checks if TCP FastOpen is supported by the kernel. Also enables TFO for all
-// connections if indicated by user.
-// Not thread safe. Must be called during initialization/startup only.
-NET_EXPORT void CheckSupportAndMaybeEnableTCPFastOpen(bool user_enabled);
-
-} // namespace net
-
-#endif // NET_SOCKET_TCP_SOCKET_H_
« no previous file with comments | « net/socket/tcp_server_socket_unittest.cc ('k') | net/socket/tcp_socket_libevent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698