blob: 9dadd22a5aa9463dc7de0a2ec0cdd7c5fef2523e [file] [log] [blame]
// Copyright 2022 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_MOJO_CALLER_SECURITY_CHECKER_H_
#define REMOTING_HOST_MOJO_CALLER_SECURITY_CHECKER_H_
namespace named_mojo_ipc_server {
struct ConnectionInfo;
}
namespace remoting {
// Returns true if the process referred to by |caller_pid| is a trusted mojo
// endpoint.
bool IsTrustedMojoEndpoint(const named_mojo_ipc_server::ConnectionInfo& caller);
} // namespace remoting
#endif // REMOTING_HOST_MOJO_CALLER_SECURITY_CHECKER_H_