Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_PUBLIC_BROWSER_ZYGOTE_HANDLE_LINUX_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_ZYGOTE_HANDLE_LINUX_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_ZYGOTE_HANDLE_LINUX_H_ | 6 #define CONTENT_PUBLIC_BROWSER_ZYGOTE_HANDLE_LINUX_H_ |
| 7 | 7 |
| 8 #include <cstddef> | 8 #include <cstddef> |
|
mdempsky
2016/01/28 23:25:40
Might as well remove this while you're here. It's
Greg K
2016/01/29 00:41:03
Done.
| |
| 9 | 9 |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| 11 #include "content/public/common/zygote_handle.h" | 11 #include "content/public/common/zygote_handle.h" |
| 12 | 12 |
| 13 namespace content { | 13 namespace content { |
| 14 | 14 |
| 15 // Allocates and initializes a zygote process, and returns the | 15 // Allocates and initializes a zygote process, and returns the |
| 16 // ZygoteHandle used to communicate with it. | 16 // ZygoteHandle used to communicate with it. |
| 17 CONTENT_EXPORT ZygoteHandle CreateZygote(); | 17 CONTENT_EXPORT ZygoteHandle CreateZygote(); |
| 18 | 18 |
| 19 // Returns a handle to a global generic zygote object. This function allows the | |
| 20 // browser to launch and use a single zygote process until the performance | |
| 21 // issues around launching multiple zygotes are resolved. | |
| 22 CONTENT_EXPORT ZygoteHandle GetGenericZygote(); | |
| 23 | |
| 19 } // namespace content | 24 } // namespace content |
| 20 | 25 |
| 21 #endif // CONTENT_PUBLIC_BROWSER_ZYGOTE_HANDLE_LINUX_H_ | 26 #endif // CONTENT_PUBLIC_BROWSER_ZYGOTE_HANDLE_LINUX_H_ |
| OLD | NEW |