| // 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 COMPONENTS_NAMED_MOJO_IPC_SERVER_CONNECTION_INFO_H_ |
| #define COMPONENTS_NAMED_MOJO_IPC_SERVER_CONNECTION_INFO_H_ |
| #include "base/process/process_handle.h" |
| #include "build/buildflag.h" |
| #include "base/win/scoped_handle.h" |
| #elif BUILDFLAG(IS_LINUX) |
| namespace named_mojo_ipc_server { |
| // ConnectionInfo encapsulates information useful for verifying a potential |
| ConnectionInfo(const ConnectionInfo&) = delete; |
| ConnectionInfo& operator=(const ConnectionInfo&) = delete; |
| audit_token_t audit_token{}; |
| #elif BUILDFLAG(IS_LINUX) |
| } // namespace named_mojo_ipc_server |
| #endif // COMPONENTS_NAMED_MOJO_IPC_SERVER_CONNECTION_INFO_H_ |