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

Unified Diff: webrtc/base/socketfactory.h

Issue 2877023002: Move webrtc/{base => rtc_base} (Closed)
Patch Set: update presubmit.py and DEPS include rules Created 3 years, 6 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 | « webrtc/base/socketaddresspair.cc ('k') | webrtc/base/socketserver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/socketfactory.h
diff --git a/webrtc/base/socketfactory.h b/webrtc/base/socketfactory.h
index fe0f32bdbb0511f854cabe9d9fbd7b6940e315ce..3a829ac10df95d062f0668ae8be4a8db085b6e78 100644
--- a/webrtc/base/socketfactory.h
+++ b/webrtc/base/socketfactory.h
@@ -8,31 +8,12 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef WEBRTC_BASE_SOCKETFACTORY_H__
-#define WEBRTC_BASE_SOCKETFACTORY_H__
+#ifndef WEBRTC_BASE_SOCKETFACTORY_H_
+#define WEBRTC_BASE_SOCKETFACTORY_H_
-#include "webrtc/base/socket.h"
-#include "webrtc/base/asyncsocket.h"
-namespace rtc {
+// This header is deprecated and is just left here temporarily during
+// refactoring. See https://bugs.webrtc.org/7634 for more details.
+#include "webrtc/rtc_base/socketfactory.h"
-class SocketFactory {
-public:
- virtual ~SocketFactory() {}
-
- // Returns a new socket for blocking communication. The type can be
- // SOCK_DGRAM and SOCK_STREAM.
- // TODO: C++ inheritance rules mean that all users must have both
- // CreateSocket(int) and CreateSocket(int,int). Will remove CreateSocket(int)
- // (and CreateAsyncSocket(int) when all callers are changed.
- virtual Socket* CreateSocket(int type) = 0;
- virtual Socket* CreateSocket(int family, int type) = 0;
- // Returns a new socket for nonblocking communication. The type can be
- // SOCK_DGRAM and SOCK_STREAM.
- virtual AsyncSocket* CreateAsyncSocket(int type) = 0;
- virtual AsyncSocket* CreateAsyncSocket(int family, int type) = 0;
-};
-
-} // namespace rtc
-
-#endif // WEBRTC_BASE_SOCKETFACTORY_H__
+#endif // WEBRTC_BASE_SOCKETFACTORY_H_
« no previous file with comments | « webrtc/base/socketaddresspair.cc ('k') | webrtc/base/socketserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698