#include "third_party/blink/renderer/modules/credentialmanagement/testing/internals_fed_cm.h"
#include <optional>
#include <string>
#include "third_party/blink/public/common/thread_safe_browser_interface_broker_proxy.h"
#include "third_party/blink/public/mojom/webid/federated_auth_request_automation.mojom-blink.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_dialog_button.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
namespace {
mojo::Remote<test::mojom::blink::FederatedAuthRequestAutomation>
CreateFedAuthRequestAutomation(ScriptState* script_state) { … }
}
ScriptPromise<IDLString> InternalsFedCm::getFedCmDialogType(
ScriptState* script_state,
Internals&) { … }
ScriptPromise<IDLString> InternalsFedCm::getFedCmTitle(
ScriptState* script_state,
Internals&) { … }
ScriptPromise<IDLUndefined> InternalsFedCm::selectFedCmAccount(
ScriptState* script_state,
Internals&,
int account_index,
ExceptionState& exception_state) { … }
ScriptPromise<IDLUndefined> InternalsFedCm::dismissFedCmDialog(
ScriptState* script_state,
Internals&) { … }
ScriptPromise<IDLUndefined> InternalsFedCm::clickFedCmDialogButton(
ScriptState* script_state,
Internals&,
const V8DialogButton& v8_button) { … }
}