summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_handle_win.h
blob: 47779bdefcdc53b462ea956e3c305651ef62d717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2015 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 IPC_HANDLE_WIN_H_
#define IPC_HANDLE_WIN_H_

#include <windows.h>

namespace IPC {

// This class is a wrapper around HANDLE. It can be passed between Chrome
// processes via Chrome IPC.
struct HandleForTransit {
  HANDLE handle;
};

HandleForTransit CreateHandleForTransit(HANDLE handle);

}  // namespace IPC

#endif  // IPC_HANDLE_WIN_H_