| Index: components/arc/arc_bridge_service.cc
|
| diff --git a/components/arc/arc_bridge_service.cc b/components/arc/arc_bridge_service.cc
|
| index d3448c515faef55fe3c529c321f4c617c05a62b2..cbb8bde97c2481248725325287e778c39ccdde9d 100644
|
| --- a/components/arc/arc_bridge_service.cc
|
| +++ b/components/arc/arc_bridge_service.cc
|
| @@ -175,32 +175,6 @@
|
|
|
| input_ptr_.reset();
|
| FOR_EACH_OBSERVER(Observer, observer_list(), OnInputInstanceClosed());
|
| -}
|
| -
|
| -void ArcBridgeService::OnIntentHelperInstanceReady(
|
| - IntentHelperInstancePtr intent_helper_ptr) {
|
| - DCHECK(CalledOnValidThread());
|
| - temporary_intent_helper_ptr_ = std::move(intent_helper_ptr);
|
| - temporary_intent_helper_ptr_.QueryVersion(
|
| - base::Bind(&ArcBridgeService::OnIntentHelperVersionReady,
|
| - weak_factory_.GetWeakPtr()));
|
| -}
|
| -
|
| -void ArcBridgeService::OnIntentHelperVersionReady(int32_t version) {
|
| - DCHECK(CalledOnValidThread());
|
| - intent_helper_ptr_ = std::move(temporary_intent_helper_ptr_);
|
| - intent_helper_ptr_.set_connection_error_handler(base::Bind(
|
| - &ArcBridgeService::CloseIntentHelperChannel, weak_factory_.GetWeakPtr()));
|
| - FOR_EACH_OBSERVER(Observer, observer_list(), OnIntentHelperInstanceReady());
|
| -}
|
| -
|
| -void ArcBridgeService::CloseIntentHelperChannel() {
|
| - DCHECK(CalledOnValidThread());
|
| - if (!intent_helper_ptr_)
|
| - return;
|
| -
|
| - intent_helper_ptr_.reset();
|
| - FOR_EACH_OBSERVER(Observer, observer_list(), OnIntentHelperInstanceClosed());
|
| }
|
|
|
| void ArcBridgeService::OnNotificationsInstanceReady(
|
| @@ -354,7 +328,6 @@
|
| CloseClipboardChannel();
|
| CloseImeChannel();
|
| CloseInputChannel();
|
| - CloseIntentHelperChannel();
|
| CloseNotificationsChannel();
|
| ClosePowerChannel();
|
| CloseProcessChannel();
|
|
|