| Index: third_party/crashpad/crashpad/util/win/registration_protocol_win.h
|
| diff --git a/third_party/crashpad/crashpad/util/win/registration_protocol_win.h b/third_party/crashpad/crashpad/util/win/registration_protocol_win.h
|
| index c57c6e20544a8a0baea3a85e35be80ff7745aa1f..122098358b86b8cd2ae40e818d1f4a1d32510c90 100644
|
| --- a/third_party/crashpad/crashpad/util/win/registration_protocol_win.h
|
| +++ b/third_party/crashpad/crashpad/util/win/registration_protocol_win.h
|
| @@ -82,8 +82,14 @@ struct ClientToServerMessage {
|
| enum Type : uint32_t {
|
| //! \brief For RegistrationRequest.
|
| kRegister,
|
| +
|
| //! \brief For ShutdownRequest.
|
| kShutdown,
|
| +
|
| + //! \brief An empty message sent by the initial client in asynchronous mode.
|
| + //! No data is required, this just confirms that the server is ready to
|
| + //! accept client registrations.
|
| + kPing,
|
| } type;
|
|
|
| union {
|
| @@ -128,6 +134,17 @@ bool SendToCrashHandlerServer(const base::string16& pipe_name,
|
| const ClientToServerMessage& message,
|
| ServerToClientMessage* response);
|
|
|
| +//! \brief Wraps CreateNamedPipe() to create a single named pipe instance.
|
| +//!
|
| +//! \param[in] pipe_name The name to use for the pipe.
|
| +//! \param[in] first_instance If `true`, the named pipe instance will be
|
| +//! created with `FILE_FLAG_FIRST_PIPE_INSTANCE`. This ensures that the the
|
| +//! pipe name is not already in use when created. The first instance will be
|
| +//! created with an untrusted integrity SACL so instances of this pipe can
|
| +//! be connected to by processes of any integrity level.
|
| +HANDLE CreateNamedPipeInstance(const std::wstring& pipe_name,
|
| + bool first_instance);
|
| +
|
| } // namespace crashpad
|
|
|
| #endif // CRASHPAD_UTIL_WIN_REGISTRATION_PROTOCOL_WIN_H_
|
|
|