Chromium Code Reviews

Side by Side Diff: content/browser/browser_child_process_host_impl.h

Issue 2201183003: Remove outgoing interface registry on RPH (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « no previous file | content/browser/browser_child_process_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 60 matching lines...)
71 bool Send(IPC::Message* message) override; 71 bool Send(IPC::Message* message) override;
72 void Launch(SandboxedProcessLauncherDelegate* delegate, 72 void Launch(SandboxedProcessLauncherDelegate* delegate,
73 base::CommandLine* cmd_line, 73 base::CommandLine* cmd_line,
74 bool terminate_on_shutdown) override; 74 bool terminate_on_shutdown) override;
75 const ChildProcessData& GetData() const override; 75 const ChildProcessData& GetData() const override;
76 ChildProcessHost* GetHost() const override; 76 ChildProcessHost* GetHost() const override;
77 base::TerminationStatus GetTerminationStatus(bool known_dead, 77 base::TerminationStatus GetTerminationStatus(bool known_dead,
78 int* exit_code) override; 78 int* exit_code) override;
79 void SetName(const base::string16& name) override; 79 void SetName(const base::string16& name) override;
80 void SetHandle(base::ProcessHandle handle) override; 80 void SetHandle(base::ProcessHandle handle) override;
81 shell::InterfaceRegistry* GetInterfaceRegistry() override;
82 shell::InterfaceProvider* GetRemoteInterfaces() override; 81 shell::InterfaceProvider* GetRemoteInterfaces() override;
83 82
84 // ChildProcessHostDelegate implementation: 83 // ChildProcessHostDelegate implementation:
85 bool CanShutdown() override; 84 bool CanShutdown() override;
86 void OnChildDisconnected() override; 85 void OnChildDisconnected() override;
87 const base::Process& GetProcess() const override; 86 const base::Process& GetProcess() const override;
88 bool OnMessageReceived(const IPC::Message& message) override; 87 bool OnMessageReceived(const IPC::Message& message) override;
89 void OnChannelConnected(int32_t peer_pid) override; 88 void OnChannelConnected(int32_t peer_pid) override;
90 void OnChannelError() override; 89 void OnChannelError() override;
91 void OnBadMessageReceived(const IPC::Message& message) override; 90 void OnBadMessageReceived(const IPC::Message& message) override;
(...skipping 61 matching lines...)
153 152
154 bool is_channel_connected_; 153 bool is_channel_connected_;
155 bool notify_child_disconnected_; 154 bool notify_child_disconnected_;
156 155
157 base::WeakPtrFactory<BrowserChildProcessHostImpl> weak_factory_; 156 base::WeakPtrFactory<BrowserChildProcessHostImpl> weak_factory_;
158 }; 157 };
159 158
160 } // namespace content 159 } // namespace content
161 160
162 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 161 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/browser_child_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine