Index: content/public/common/zygote_alias.h |
diff --git a/content/public/common/zygote_alias.h b/content/public/common/zygote_alias.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0d8685a8d7a492003a557960983e7ec0f5abef9e |
--- /dev/null |
+++ b/content/public/common/zygote_alias.h |
@@ -0,0 +1,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_ALIAS_H_ |
mdempsky
2016/01/16 05:24:26
Nit: The style guide convention is that the header
Greg K
2016/01/19 19:34:19
Done.
|
+#define CONTENT_PUBLIC_COMMON_ZYGOTE_ALIAS_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_ALIAS_H_ |