summaryrefslogtreecommitdiff
path: root/chromium/content/public/common/zygote_handle.h
blob: 9aa07c4245450e9ed6bba2f0c82aaf9a9d3937bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2016 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 CONTENT_PUBLIC_COMMON_ZYGOTE_HANDLE_H_
#define CONTENT_PUBLIC_COMMON_ZYGOTE_HANDLE_H_

#include <cstddef>

#include "build/build_config.h"

namespace content {

#if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
class ZygoteCommunication;
using ZygoteHandle = ZygoteCommunication*;
#else
using ZygoteHandle = std::nullptr_t;
#endif

}  // namespace content

#endif  // CONTENT_PUBLIC_COMMON_ZYGOTE_HANDLE_H_