| Index: components/pairing/shark_connection_listener.cc
|
| diff --git a/components/pairing/shark_connection_listener.cc b/components/pairing/shark_connection_listener.cc
|
| index d74b633c7bd99890fdf20883dae16b243fbf2a00..f7bbb1d985fe6bc17c8e7cbee177aa08930fd432 100644
|
| --- a/components/pairing/shark_connection_listener.cc
|
| +++ b/components/pairing/shark_connection_listener.cc
|
| @@ -26,6 +26,13 @@ SharkConnectionListener::~SharkConnectionListener() {
|
| controller_->RemoveObserver(this);
|
| }
|
|
|
| +void SharkConnectionListener::ResetHostPairingController() {
|
| + if (controller_.get()) {
|
| + controller_->Reset();
|
| + controller_->RemoveObserver(this);
|
| + }
|
| +}
|
| +
|
| void SharkConnectionListener::PairingStageChanged(Stage new_stage) {
|
| if (new_stage == HostPairingController::STAGE_WAITING_FOR_CODE_CONFIRMATION
|
| // Code confirmation stage can be skipped if devices were paired before.
|
|
|