| Index: components/arc/test/fake_arc_bridge_bootstrap.cc
|
| diff --git a/components/arc/test/fake_arc_bridge_bootstrap.cc b/components/arc/test/fake_arc_bridge_bootstrap.cc
|
| index cd05697100f6719767cca27677a7695af94e2821..054ebad5b402fe32ad523cc944bdd527c240bc6e 100644
|
| --- a/components/arc/test/fake_arc_bridge_bootstrap.cc
|
| +++ b/components/arc/test/fake_arc_bridge_bootstrap.cc
|
| @@ -28,11 +28,13 @@ void FakeArcBridgeBootstrap::Start() {
|
| void FakeArcBridgeBootstrap::Stop() {
|
| DCHECK(delegate_);
|
| instance_->Unbind();
|
| - delegate_->OnStopped();
|
| + delegate_->OnStopped(ArcBridgeService::StopReason::SHUTDOWN);
|
| }
|
|
|
| -void FakeArcBridgeBootstrap::OnCrashed() {
|
| - Stop();
|
| +void FakeArcBridgeBootstrap::OnStopped(ArcBridgeService::StopReason reason) {
|
| + DCHECK(delegate_);
|
| + instance_->Unbind();
|
| + delegate_->OnStopped(reason);
|
| }
|
|
|
| } // namespace arc
|
|
|