Index: net/web2socket_proxy/web2socket.h |
diff --git a/net/web2socket_proxy/web2socket.h b/net/web2socket_proxy/web2socket.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bc7ef2ac3e30e460368693e291bb971e047bea04 |
--- /dev/null |
+++ b/net/web2socket_proxy/web2socket.h |
@@ -0,0 +1,18 @@ |
+// Copyright (c) 2010 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_WEB2SOCKET_PROXY_WEB2SOCKET_H_ |
+#define NET_WEB2SOCKET_PROXY_WEB2SOCKET_H_ |
+ |
+#include <string> |
+ |
+struct sockaddr; |
+ |
+static const int kWeb2SocketDefaultPort = 10101; |
+ |
+extern void RunWeb2SocketServer(const std::string& origin, |
+ struct sockaddr* addr, |
+ int addr_len); |
+ |
+#endif // NET_WEB2SOCKET_PROXY_WEB2SOCKET_H_ |