| Index: components/arc/arc_bridge_service_impl.h
|
| diff --git a/components/arc/arc_bridge_service_impl.h b/components/arc/arc_bridge_service_impl.h
|
| index 872582bc64b09989a9bba8a12795f07f97b60df7..1c3afaec5d9ac0124de157c13a0becb226d101cb 100644
|
| --- a/components/arc/arc_bridge_service_impl.h
|
| +++ b/components/arc/arc_bridge_service_impl.h
|
| @@ -25,7 +25,7 @@ namespace arc {
|
|
|
| // Real IPC based ArcBridgeService that is used in production.
|
| class ArcBridgeServiceImpl : public ArcBridgeService,
|
| - public ArcBridgeBootstrap::Delegate {
|
| + public ArcBridgeBootstrap::Observer {
|
| public:
|
| // This is the factory interface to inject ArcBridgeBootstrap instance
|
| // for testing purpose.
|
| @@ -65,8 +65,8 @@ class ArcBridgeServiceImpl : public ArcBridgeService,
|
| // Stops the running instance.
|
| void StopInstance();
|
|
|
| - // ArcBridgeBootstrap::Delegate:
|
| - void OnConnectionEstablished(mojom::ArcBridgeInstancePtr instance) override;
|
| + // ArcBridgeBootstrap::Observer:
|
| + void OnReady() override;
|
| void OnStopped(StopReason reason) override;
|
|
|
| std::unique_ptr<ArcBridgeBootstrap> bootstrap_;
|
| @@ -74,10 +74,6 @@ class ArcBridgeServiceImpl : public ArcBridgeService,
|
| // If the user's session has started.
|
| bool session_started_;
|
|
|
| - // Mojo endpoint.
|
| - // TODO(hidehiko): Move this to ArcBridgeBootstrap.
|
| - std::unique_ptr<mojom::ArcBridgeHost> arc_bridge_host_;
|
| -
|
| // If the instance had already been started but the connection to it was
|
| // lost. This should make the instance restart.
|
| bool reconnect_ = false;
|
|
|