| Index: components/arc/arc_bridge_service_impl.cc
|
| diff --git a/components/arc/arc_bridge_service_impl.cc b/components/arc/arc_bridge_service_impl.cc
|
| index a5c49456f4e0c3c40b13e3b1f6f86628fa3974aa..42ce6e66c4e34134b13bcab1687ff5c0c9e94896 100644
|
| --- a/components/arc/arc_bridge_service_impl.cc
|
| +++ b/components/arc/arc_bridge_service_impl.cc
|
| @@ -78,6 +78,7 @@ void ArcBridgeServiceImpl::PrerequisitesChanged() {
|
| if (!available() || !session_started_)
|
| return;
|
| VLOG(0) << "Prerequisites met, starting ARC";
|
| + SetStopReason(StopReason::NO_ERROR);
|
| SetState(State::CONNECTING);
|
| bootstrap_->Start();
|
| } else {
|
| @@ -136,8 +137,9 @@ void ArcBridgeServiceImpl::OnConnectionEstablished(
|
| SetState(State::READY);
|
| }
|
|
|
| -void ArcBridgeServiceImpl::OnStopped() {
|
| +void ArcBridgeServiceImpl::OnStopped(StopReason stop_reason) {
|
| DCHECK(CalledOnValidThread());
|
| + SetStopReason(stop_reason);
|
| SetState(State::STOPPED);
|
| VLOG(0) << "ARC stopped";
|
| if (reconnect_) {
|
|
|