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_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <list> | 10 #include <list> |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 bool Send(IPC::Message* message) override; | 67 bool Send(IPC::Message* message) override; |
68 void Launch(SandboxedProcessLauncherDelegate* delegate, | 68 void Launch(SandboxedProcessLauncherDelegate* delegate, |
69 base::CommandLine* cmd_line, | 69 base::CommandLine* cmd_line, |
70 bool terminate_on_shutdown) override; | 70 bool terminate_on_shutdown) override; |
71 const ChildProcessData& GetData() const override; | 71 const ChildProcessData& GetData() const override; |
72 ChildProcessHost* GetHost() const override; | 72 ChildProcessHost* GetHost() const override; |
73 base::TerminationStatus GetTerminationStatus(bool known_dead, | 73 base::TerminationStatus GetTerminationStatus(bool known_dead, |
74 int* exit_code) override; | 74 int* exit_code) override; |
75 void SetName(const base::string16& name) override; | 75 void SetName(const base::string16& name) override; |
76 void SetHandle(base::ProcessHandle handle) override; | 76 void SetHandle(base::ProcessHandle handle) override; |
77 ServiceRegistry* GetServiceRegistry() override; | 77 shell::InterfaceRegistry* GetInterfaceRegistry() override; |
| 78 shell::InterfaceProvider* GetRemoteInterfaces() override; |
78 | 79 |
79 // ChildProcessHostDelegate implementation: | 80 // ChildProcessHostDelegate implementation: |
80 bool CanShutdown() override; | 81 bool CanShutdown() override; |
81 void OnChildDisconnected() override; | 82 void OnChildDisconnected() override; |
82 const base::Process& GetProcess() const override; | 83 const base::Process& GetProcess() const override; |
83 bool OnMessageReceived(const IPC::Message& message) override; | 84 bool OnMessageReceived(const IPC::Message& message) override; |
84 void OnChannelConnected(int32_t peer_pid) override; | 85 void OnChannelConnected(int32_t peer_pid) override; |
85 void OnChannelError() override; | 86 void OnChannelError() override; |
86 void OnBadMessageReceived(const IPC::Message& message) override; | 87 void OnBadMessageReceived(const IPC::Message& message) override; |
87 | 88 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 149 |
149 bool is_channel_connected_; | 150 bool is_channel_connected_; |
150 bool notify_child_disconnected_; | 151 bool notify_child_disconnected_; |
151 | 152 |
152 base::WeakPtrFactory<BrowserChildProcessHostImpl> weak_factory_; | 153 base::WeakPtrFactory<BrowserChildProcessHostImpl> weak_factory_; |
153 }; | 154 }; |
154 | 155 |
155 } // namespace content | 156 } // namespace content |
156 | 157 |
157 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ | 158 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ |
OLD | NEW |