remote_webauthn_constants.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. // Copyright 2021 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef REMOTING_HOST_WEBAUTHN_REMOTE_WEBAUTHN_CONSTANTS_H_
  5. #define REMOTING_HOST_WEBAUTHN_REMOTE_WEBAUTHN_CONSTANTS_H_
  6. namespace remoting {
  7. extern const char kRemoteWebAuthnDataChannelName[];
  8. // NMH message types.
  9. extern const char kIsUvpaaMessageType[];
  10. extern const char kGetRemoteStateMessageType[];
  11. extern const char kCreateMessageType[];
  12. extern const char kGetMessageType[];
  13. extern const char kCancelMessageType[];
  14. extern const char kClientDisconnectedMessageType[];
  15. // NMH message keys.
  16. extern const char kIsUvpaaResponseIsAvailableKey[];
  17. extern const char kGetRemoteStateResponseIsRemotedKey[];
  18. extern const char kCancelResponseWasCanceledKey[];
  19. extern const char kCreateRequestDataKey[];
  20. extern const char kCreateResponseDataKey[];
  21. extern const char kGetRequestDataKey[];
  22. extern const char kGetResponseDataKey[];
  23. extern const char kWebAuthnErrorKey[];
  24. extern const char kWebAuthnErrorNameKey[];
  25. extern const char kWebAuthnErrorMessageKey[];
  26. } // namespace remoting
  27. #endif // REMOTING_HOST_WEBAUTHN_REMOTE_WEBAUTHN_CONSTANTS_H_