Chromium Code Reviews| Index: webrtc/p2p/base/transportchannel.cc |
| diff --git a/webrtc/p2p/base/transportchannel.cc b/webrtc/p2p/base/transportchannel.cc |
| index a4e8cb8df51f41a83755c8601a3f60fc294bf66d..3b666e4253db602a17d6e2c321b5ea2b5d32224e 100644 |
| --- a/webrtc/p2p/base/transportchannel.cc |
| +++ b/webrtc/p2p/base/transportchannel.cc |
| @@ -31,6 +31,13 @@ void TransportChannel::set_readable(bool readable) { |
| } |
| } |
| +void TransportChannel::set_flaky(bool flaky) { |
| + if (flaky_ != flaky) { |
|
pthatcher1
2015/06/24 23:42:52
Please use an early return.
honghaiz3
2015/08/05 23:56:56
Done.
|
| + flaky_ = flaky; |
| + SignalFlakyState(this); |
| + } |
| +} |
| + |
| void TransportChannel::set_writable(bool writable) { |
| if (writable_ != writable) { |
| LOG_J(LS_VERBOSE, this) << "set_writable from:" << writable_ << " to " |