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

Unified Diff: webrtc/base/socketaddresspair.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/socketaddress_unittest.cc ('k') | webrtc/base/socketaddresspair.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/socketaddresspair.h
diff --git a/webrtc/base/socketaddresspair.h b/webrtc/base/socketaddresspair.h
index 73a627f104ee7f53b41bdcdee1e35fa83096ddb5..3f53f10feeb7bb2bc568e96db233311187ed609d 100644
--- a/webrtc/base/socketaddresspair.h
+++ b/webrtc/base/socketaddresspair.h
@@ -8,34 +8,12 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef WEBRTC_BASE_SOCKETADDRESSPAIR_H__
-#define WEBRTC_BASE_SOCKETADDRESSPAIR_H__
+#ifndef WEBRTC_BASE_SOCKETADDRESSPAIR_H_
+#define WEBRTC_BASE_SOCKETADDRESSPAIR_H_
-#include "webrtc/base/socketaddress.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/socketaddresspair.h"
-// Records a pair (source,destination) of socket addresses. The two addresses
-// identify a connection between two machines. (For UDP, this "connection" is
-// not maintained explicitly in a socket.)
-class SocketAddressPair {
-public:
- SocketAddressPair() {}
- SocketAddressPair(const SocketAddress& srs, const SocketAddress& dest);
-
- const SocketAddress& source() const { return src_; }
- const SocketAddress& destination() const { return dest_; }
-
- bool operator ==(const SocketAddressPair& r) const;
- bool operator <(const SocketAddressPair& r) const;
-
- size_t Hash() const;
-
-private:
- SocketAddress src_;
- SocketAddress dest_;
-};
-
-} // namespace rtc
-
-#endif // WEBRTC_BASE_SOCKETADDRESSPAIR_H__
+#endif // WEBRTC_BASE_SOCKETADDRESSPAIR_H_
« no previous file with comments | « webrtc/base/socketaddress_unittest.cc ('k') | webrtc/base/socketaddresspair.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698