// Copyright 2018 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_WEBAUTHN_AUTHENTICATOR_REQUEST_SCHEDULER_H_ #define CHROME_BROWSER_WEBAUTHN_AUTHENTICATOR_REQUEST_SCHEDULER_H_ #include <memory> class ChromeAuthenticatorRequestDelegate; namespace content { class RenderFrameHost; class WebContents; } // Responsible for scheduling simultaneous Web Authentication API requests // coming from RenderFrameHosts in various WebContents and BrowserContexts, so // that the UI flow can be shown in a reasonable manner. // // For now, the logic is very simple: at most one active request is allowed in // each WebContents at any time (additional requests are cancelled). class AuthenticatorRequestScheduler { … }; #endif // CHROME_BROWSER_WEBAUTHN_AUTHENTICATOR_REQUEST_SCHEDULER_H_