Fix LibjingleTransport not to wait for channel to be writable.
commit42df61017cfdd489f4686296823959ef9a96df30
authorsergeyu <sergeyu@chromium.org>
Wed, 15 Apr 2015 23:45:37 +0000 (15 16:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Apr 2015 23:46:58 +0000 (15 23:46 +0000)
tree0cfcf58febd69a6a5853f47b9d913be847f58e00
parentf54d5df0b2ae07ad224de8d52227ea925baca497
Fix LibjingleTransport not to wait for channel to be writable.

Previously LibjingleTransport was waiting for channel to be become
writable before considering it to be connected. As result it was loosing
all data that's received before the channel is marked as writable.

BUG=477142

Review URL: https://codereview.chromium.org/1080633005

Cr-Commit-Position: refs/heads/master@{#325347}
remoting/protocol/libjingle_transport_factory.cc