// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_WEBAUTHN_CORE_BROWSER_INTERNAL_AUTHENTICATOR_H_ #define COMPONENTS_WEBAUTHN_CORE_BROWSER_INTERNAL_AUTHENTICATOR_H_ #include "base/functional/callback.h" #include "third_party/blink/public/mojom/webauthn/authenticator.mojom.h" #include "url/origin.h" namespace content { class RenderFrameHost; } // namespace content namespace webauthn { // Callback for GetMatchingCredentialIds. This method is not exposed to the // renderer directly, and so its callback is not defined in mojom. GetMatchingCredentialIdsCallback; // Interface similar to blink::mojom::Authenticator meant only for internal // components in Chrome to use in order to direct authenticators to create or // use a public key credential. Unlike Authenticator, the caller will be // allowed to set its own effective origin. class InternalAuthenticator { … }; } // namespace webauthn #endif // COMPONENTS_WEBAUTHN_CORE_BROWSER_INTERNAL_AUTHENTICATOR_H_