Commit f66d57ac authored by Kyle Horimoto's avatar Kyle Horimoto Committed by Commit Bot

[CrOS MultiDevice] Update FakeMultiplexedChannel.

Now, when a FakeMultiplexedChannel is disconnected, it notifies its
delegate.

Bug: 824568, 752273
Change-Id: I52a5368b374c7633a09a5c154a37f972d7a207c7
Reviewed-on: https://chromium-review.googlesource.com/1072729Reviewed-by: default avatarJames Hawkins <jhawkins@chromium.org>
Commit-Queue: Kyle Horimoto <khorimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#561665}
parent efdf268f
......@@ -30,6 +30,8 @@ void FakeMultiplexedChannel::SetDisconnected() {
DCHECK(!is_disconnected_);
is_disconnecting_ = false;
is_disconnected_ = true;
NotifyDisconnected();
}
bool FakeMultiplexedChannel::IsDisconnecting() const {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment