blob: 24a15ff7458067ab44297ffa9785a335da0abb8b [file] [log] [blame]
// Copyright 2019 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.
#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_PAYMENTS_WEBAUTHN_CALLBACK_TYPES_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_PAYMENTS_WEBAUTHN_CALLBACK_TYPES_H_
namespace autofill {
// The callback that should be invoked on user decision.
enum class WebauthnDialogCallbackType {
// Invoked when the OK button in the Webauthn offer dialog is clicked.
kOfferAccepted = 0,
// Invoked when the cancel button in the Webauthn offer dialog is clicked.
kOfferCancelled = 1,
// Invoked when the cancel button in the Webauthn verify pending dialog
// is clicked.
kVerificationCancelled = 2,
kMaxValue = kVerificationCancelled,
};
} // namespace autofill
#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_PAYMENTS_WEBAUTHN_CALLBACK_TYPES_H_