OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_CHILD_PROCESS_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_ |
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_ |
7 | 7 |
8 #include "base/environment.h" | 8 #include "base/environment.h" |
9 #include "base/memory/shared_memory.h" | 9 #include "base/memory/shared_memory.h" |
10 #include "base/process/kill.h" | 10 #include "base/process/kill.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 // the Launch method is used to start the process. However if the owner | 97 // the Launch method is used to start the process. However if the owner |
98 // of this object doesn't call Launch and starts the process in another way, | 98 // of this object doesn't call Launch and starts the process in another way, |
99 // they need to call this method so that the process handle is associated with | 99 // they need to call this method so that the process handle is associated with |
100 // this object. | 100 // this object. |
101 virtual void SetHandle(base::ProcessHandle handle) = 0; | 101 virtual void SetHandle(base::ProcessHandle handle) = 0; |
102 | 102 |
103 #if defined(OS_MACOSX) | 103 #if defined(OS_MACOSX) |
104 // Returns a PortProvider used to get the task port for child processes. | 104 // Returns a PortProvider used to get the task port for child processes. |
105 static base::PortProvider* GetPortProvider(); | 105 static base::PortProvider* GetPortProvider(); |
106 #endif | 106 #endif |
| 107 |
| 108 class ConnectionFilterImpl; |
107 }; | 109 }; |
108 | 110 |
109 }; // namespace content | 111 }; // namespace content |
110 | 112 |
111 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_ | 113 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_ |
OLD | NEW |