remote_webauthn_caller_security_utils.h 543 B

123456789101112131415
  1. // Copyright 2022 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_CALLER_SECURITY_UTILS_H_
  5. #define REMOTING_HOST_WEBAUTHN_REMOTE_WEBAUTHN_CALLER_SECURITY_UTILS_H_
  6. namespace remoting {
  7. // Returns true if the current process is launched by a trusted process.
  8. bool IsLaunchedByTrustedProcess();
  9. } // namespace remoting
  10. #endif // REMOTING_HOST_WEBAUTHN_REMOTE_WEBAUTHN_CALLER_SECURITY_UTILS_H_