ipc: Make sure that ChannelReader is destroyed correctly.
[chromium-blink-merge.git] / ipc / ipc_handle_win.h
blob47779bdefcdc53b462ea956e3c305651ef62d717
1 // Copyright 2015 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.
5 #ifndef IPC_HANDLE_WIN_H_
6 #define IPC_HANDLE_WIN_H_
8 #include <windows.h>
10 namespace IPC {
12 // This class is a wrapper around HANDLE. It can be passed between Chrome
13 // processes via Chrome IPC.
14 struct HandleForTransit {
15 HANDLE handle;
18 HandleForTransit CreateHandleForTransit(HANDLE handle);
20 } // namespace IPC
22 #endif // IPC_HANDLE_WIN_H_