| 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" |
| 11 #include "base/process/process_handle.h" | 11 #include "base/process/process_handle.h" |
| 12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
| 15 #include "content/public/common/process_type.h" | 15 #include "content/public/common/process_type.h" |
| 16 #include "ipc/ipc_sender.h" | 16 #include "ipc/ipc_sender.h" |
| 17 | 17 |
| 18 #if defined(OS_MACOSX) | 18 #if defined(OS_MACOSX) |
| 19 #include "base/process/port_provider_mac.h" | 19 #include "base/process/port_provider_mac.h" |
| 20 #endif | 20 #endif |
| 21 | 21 |
| 22 namespace base { | 22 namespace base { |
| 23 class CommandLine; | 23 class CommandLine; |
| 24 class FilePath; | |
| 25 class SharedPersistentMemoryAllocator; | 24 class SharedPersistentMemoryAllocator; |
| 26 } | 25 } |
| 27 | 26 |
| 28 namespace service_manager { | |
| 29 class InterfaceProvider; | |
| 30 } | |
| 31 | |
| 32 namespace content { | 27 namespace content { |
| 33 | 28 |
| 34 class BrowserChildProcessHostDelegate; | 29 class BrowserChildProcessHostDelegate; |
| 35 class ChildProcessHost; | 30 class ChildProcessHost; |
| 36 class SandboxedProcessLauncherDelegate; | 31 class SandboxedProcessLauncherDelegate; |
| 37 struct ChildProcessData; | 32 struct ChildProcessData; |
| 38 | 33 |
| 39 // This represents child processes of the browser process, i.e. plugins. They | 34 // This represents child processes of the browser process, i.e. plugins. They |
| 40 // will get terminated at browser shutdown. | 35 // will get terminated at browser shutdown. |
| 41 class CONTENT_EXPORT BrowserChildProcessHost : public IPC::Sender { | 36 class CONTENT_EXPORT BrowserChildProcessHost : public IPC::Sender { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 94 |
| 100 #if defined(OS_MACOSX) | 95 #if defined(OS_MACOSX) |
| 101 // Returns a PortProvider used to get the task port for child processes. | 96 // Returns a PortProvider used to get the task port for child processes. |
| 102 static base::PortProvider* GetPortProvider(); | 97 static base::PortProvider* GetPortProvider(); |
| 103 #endif | 98 #endif |
| 104 }; | 99 }; |
| 105 | 100 |
| 106 }; // namespace content | 101 }; // namespace content |
| 107 | 102 |
| 108 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_ | 103 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_ |
| OLD | NEW |