chromium/remoting/host/webauthn/remote_webauthn_constants.h

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef REMOTING_HOST_WEBAUTHN_REMOTE_WEBAUTHN_CONSTANTS_H_
#define REMOTING_HOST_WEBAUTHN_REMOTE_WEBAUTHN_CONSTANTS_H_

namespace remoting {

extern const char kRemoteWebAuthnDataChannelName[];

// NMH message types.
extern const char kIsUvpaaMessageType[];
extern const char kGetRemoteStateMessageType[];
extern const char kCreateMessageType[];
extern const char kGetMessageType[];
extern const char kCancelMessageType[];
extern const char kClientDisconnectedMessageType[];

// NMH message keys.
extern const char kIsUvpaaResponseIsAvailableKey[];
extern const char kGetRemoteStateResponseIsRemotedKey[];
extern const char kCancelResponseWasCanceledKey[];
extern const char kCreateRequestDataKey[];
extern const char kCreateResponseDataKey[];
extern const char kGetRequestDataKey[];
extern const char kGetResponseDataKey[];
extern const char kWebAuthnErrorKey[];
extern const char kWebAuthnErrorNameKey[];
extern const char kWebAuthnErrorMessageKey[];

}  // namespace remoting

#endif  // REMOTING_HOST_WEBAUTHN_REMOTE_WEBAUTHN_CONSTANTS_H_