blob: 9703cd6edfb5e31f9ced3b9a328e83baa7ed4c4f [file] [log] [blame]
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/in_session_auth/mock_in_session_auth_dialog_client.h"
#include "ash/in_session_auth/webauthn_dialog_controller_impl.h"
#include "ash/shell.h"
namespace ash {
MockInSessionAuthDialogClient::MockInSessionAuthDialogClient() {
Shell::Get()->webauthn_dialog_controller()->SetClient(this);
}
MockInSessionAuthDialogClient::~MockInSessionAuthDialogClient() {
Shell::Get()->webauthn_dialog_controller()->SetClient(nullptr);
}
} // namespace ash