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

Unified Diff: net/socket/sctp_client_socket.h

Issue 6800009: Attn: Mike Belshe Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 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
Index: net/socket/sctp_client_socket.h
===================================================================
--- net/socket/sctp_client_socket.h (revision 0)
+++ net/socket/sctp_client_socket.h (revision 0)
@@ -0,0 +1,28 @@
+// 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_SOCKET_SCTP_CLIENT_SOCKET_H_
+#define NET_SOCKET_SCTP_CLIENT_SOCKET_H_
+#pragma once
+
+#include "build/build_config.h"
+
+#if defined(OS_WIN)
+#include "net/socket/sctp_client_socket_win.h"
+#elif defined(OS_POSIX)
+#include "net/socket/sctp_client_socket_libevent.h"
+#endif
+
+namespace net {
+
+// A client socket that uses SCTP as the transport layer.
+#if defined(OS_WIN)
+typedef SCTPClientSocketWin SCTPClientSocket;
+#elif defined(OS_POSIX)
+typedef SCTPClientSocketLibevent SCTPClientSocket;
+#endif
+
+} // namespace net
+
+#endif // NET_SOCKET_SCTP_CLIENT_SOCKET_H_
Property changes on: net/socket/sctp_client_socket.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698