diff options
author | perkj@webrtc.org <perkj@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-05-13 08:15:48 +0000 |
---|---|---|
committer | perkj@webrtc.org <perkj@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-05-13 08:15:48 +0000 |
commit | e9a604accd54ab14dbf98f99ccdcf3ae1c54d27c (patch) | |
tree | 184b2b5550237373580acbeb8861c833e6027df9 /webrtc/base/socketaddresspair.h | |
parent | 3a5825909d24ec39112a8c882a8060ae745929a7 (diff) | |
download | webrtc-e9a604accd54ab14dbf98f99ccdcf3ae1c54d27c.tar.gz |
Revert 6107 "Adds a modified copy of talk/base to webrtc/base. I..."
This breaks Chromium FYI builds and prevent roll of webrtc/libjingle to Chrome.
http://chromegw.corp.google.com/i/chromium.webrtc.fyi/builders/Win%20Builder/builds/457
> Adds a modified copy of talk/base to webrtc/base. It is the first step in migrating talk/base to webrtc/base.
>
> BUG=N/A
> R=andrew@webrtc.org, wu@webrtc.org
>
> Review URL: https://webrtc-codereview.appspot.com/12199004
TBR=henrike@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/14479004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@6116 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'webrtc/base/socketaddresspair.h')
-rw-r--r-- | webrtc/base/socketaddresspair.h | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/webrtc/base/socketaddresspair.h b/webrtc/base/socketaddresspair.h deleted file mode 100644 index 73a627f104..0000000000 --- a/webrtc/base/socketaddresspair.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright 2004 The WebRTC Project Authors. All rights reserved. - * - * Use of this source code is governed by a BSD-style license - * that can be found in the LICENSE file in the root of the source - * tree. An additional intellectual property rights grant can be found - * in the file PATENTS. All contributing project authors may - * be found in the AUTHORS file in the root of the source tree. - */ - -#ifndef WEBRTC_BASE_SOCKETADDRESSPAIR_H__ -#define WEBRTC_BASE_SOCKETADDRESSPAIR_H__ - -#include "webrtc/base/socketaddress.h" - -namespace rtc { - -// 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__ |