diff options
author | erikchen@chromium.org <erikchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-31 23:50:09 +0000 |
---|---|---|
committer | erikchen@chromium.org <erikchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-31 23:50:09 +0000 |
commit | d08baed84e8aed2343a697c6d1627d3b456e3e02 (patch) | |
tree | 7dd88c7c6b82475919881932340d314a9ef9ed72 /jingle/glue/channel_socket_adapter.cc | |
parent | 504cc9199a69d10a4a2296697afb4736e1b53231 (diff) | |
download | chromium_src-d08baed84e8aed2343a697c6d1627d3b456e3e02.zip chromium_src-d08baed84e8aed2343a697c6d1627d3b456e3e02.tar.gz chromium_src-d08baed84e8aed2343a697c6d1627d3b456e3e02.tar.bz2 |
Revert "Update webrtc&libjingle 6774:6799."
This reverts commit bf45dff0ca703e5ad3bb6c6754ebdcb0c1b1296a.
(https://codereview.chromium.org/429253003)
Broke sizes on Linux
http://build.chromium.org/p/chromium/builders/Linux/builds/51786
https://code.google.com/p/webrtc/source/browse/trunk/webrtc/base/linux.cc
defines static std::string lsb_release_string; among other things
It's guarded in WEBRTC_CHROMIUM_BUILDs. Maybe it should be
WEBRTC_CHROMIUM_BUILD.
BUG=NONE
TBR=darin@chromium.org, hclam@chromium.org, jochen@chromium.org, palmer@chromium.org, sergeyu@chromium.org, wez@chromium.org, ronghuawu@chromium.org
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/435823002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286914 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle/glue/channel_socket_adapter.cc')
-rw-r--r-- | jingle/glue/channel_socket_adapter.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jingle/glue/channel_socket_adapter.cc b/jingle/glue/channel_socket_adapter.cc index 1645f96..bca4222 100644 --- a/jingle/glue/channel_socket_adapter.cc +++ b/jingle/glue/channel_socket_adapter.cc @@ -76,7 +76,7 @@ int TransportChannelSocketAdapter::Write( } int result; - rtc::PacketOptions options; + talk_base::PacketOptions options; if (channel_->writable()) { result = channel_->SendPacket(buffer->data(), buffer_size, options); if (result < 0) { @@ -101,13 +101,13 @@ int TransportChannelSocketAdapter::Write( int TransportChannelSocketAdapter::SetReceiveBufferSize(int32 size) { DCHECK_EQ(base::MessageLoop::current(), message_loop_); - return (channel_->SetOption(rtc::Socket::OPT_RCVBUF, size) == 0) ? + return (channel_->SetOption(talk_base::Socket::OPT_RCVBUF, size) == 0) ? net::OK : net::ERR_SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR; } int TransportChannelSocketAdapter::SetSendBufferSize(int32 size) { DCHECK_EQ(base::MessageLoop::current(), message_loop_); - return (channel_->SetOption(rtc::Socket::OPT_SNDBUF, size) == 0) ? + return (channel_->SetOption(talk_base::Socket::OPT_SNDBUF, size) == 0) ? net::OK : net::ERR_SOCKET_SET_SEND_BUFFER_SIZE_ERROR; } @@ -142,7 +142,7 @@ void TransportChannelSocketAdapter::OnNewPacket( cricket::TransportChannel* channel, const char* data, size_t data_size, - const rtc::PacketTime& packet_time, + const talk_base::PacketTime& packet_time, int flags) { DCHECK_EQ(base::MessageLoop::current(), message_loop_); DCHECK_EQ(channel, channel_); @@ -174,7 +174,7 @@ void TransportChannelSocketAdapter::OnWritableState( DCHECK_EQ(base::MessageLoop::current(), message_loop_); // Try to send the packet if there is a pending write. if (!write_callback_.is_null()) { - rtc::PacketOptions options; + talk_base::PacketOptions options; int result = channel_->SendPacket(write_buffer_->data(), write_buffer_size_, options); |