123456789101112131415161718 |
- // Copyright 2022 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 REMOTING_HOST_MOJO_IPC_MOJO_CALLER_SECURITY_CHECKER_H_
- #define REMOTING_HOST_MOJO_IPC_MOJO_CALLER_SECURITY_CHECKER_H_
- #include "base/process/process_handle.h"
- namespace remoting {
- // Returns true if the process referred to by |caller_pid| is a trusted mojo
- // endpoint.
- bool IsTrustedMojoEndpoint(base::ProcessId caller_pid);
- } // namespace remoting
- #endif // REMOTING_HOST_MOJO_IPC_MOJO_CALLER_SECURITY_CHECKER_H_
|