#include "content/web_test/browser/web_test_fedcm_manager.h"
#include <optional>
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/browser/webid/federated_auth_request_impl.h"
#include "content/browser/webid/federated_auth_request_page_data.h"
#include "content/public/browser/identity_request_dialog_controller.h"
namespace content {
WebTestFedCmManager::WebTestFedCmManager(RenderFrameHost* render_frame_host)
: … { … }
WebTestFedCmManager::~WebTestFedCmManager() = default;
void WebTestFedCmManager::GetDialogType(
blink::test::mojom::FederatedAuthRequestAutomation::GetDialogTypeCallback
callback) { … }
void WebTestFedCmManager::GetFedCmDialogTitle(
blink::test::mojom::FederatedAuthRequestAutomation::
GetFedCmDialogTitleCallback callback) { … }
void WebTestFedCmManager::SelectFedCmAccount(
uint32_t account_index,
SelectFedCmAccountCallback callback) { … }
void WebTestFedCmManager::DismissFedCmDialog(
DismissFedCmDialogCallback callback) { … }
void WebTestFedCmManager::ClickFedCmDialogButton(
blink::test::mojom::DialogButton button,
ClickFedCmDialogButtonCallback callback) { … }
FederatedAuthRequestImpl* WebTestFedCmManager::GetAuthRequestImpl() { … }
}