Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: content/common/child_process_host_impl.h

Issue 2476883002: Remove obsolete methods from IPC::Channel and related classes. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
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_COMMON_CHILD_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_COMMON_CHILD_PROCESS_HOST_IMPL_H_
6 #define CONTENT_COMMON_CHILD_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_COMMON_CHILD_PROCESS_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 static uint64_t ChildProcessUniqueIdToTracingProcessId(int child_process_id); 76 static uint64_t ChildProcessUniqueIdToTracingProcessId(int child_process_id);
77 77
78 // ChildProcessHost implementation 78 // ChildProcessHost implementation
79 bool Send(IPC::Message* message) override; 79 bool Send(IPC::Message* message) override;
80 void ForceShutdown() override; 80 void ForceShutdown() override;
81 std::string CreateChannelMojo(const std::string& child_token) override; 81 std::string CreateChannelMojo(const std::string& child_token) override;
82 void CreateChannelMojo() override; 82 void CreateChannelMojo() override;
83 bool IsChannelOpening() override; 83 bool IsChannelOpening() override;
84 void AddFilter(IPC::MessageFilter* filter) override; 84 void AddFilter(IPC::MessageFilter* filter) override;
85 service_manager::InterfaceProvider* GetRemoteInterfaces() override; 85 service_manager::InterfaceProvider* GetRemoteInterfaces() override;
86 #if defined(OS_POSIX)
87 base::ScopedFD TakeClientFileDescriptor() override;
88 #endif
89 86
90 private: 87 private:
91 friend class ChildProcessHost; 88 friend class ChildProcessHost;
92 89
93 explicit ChildProcessHostImpl(ChildProcessHostDelegate* delegate); 90 explicit ChildProcessHostImpl(ChildProcessHostDelegate* delegate);
94 91
95 // IPC::Listener methods: 92 // IPC::Listener methods:
96 bool OnMessageReceived(const IPC::Message& msg) override; 93 bool OnMessageReceived(const IPC::Message& msg) override;
97 void OnChannelConnected(int32_t peer_pid) override; 94 void OnChannelConnected(int32_t peer_pid) override;
98 void OnChannelError() override; 95 void OnChannelError() override;
(...skipping 26 matching lines...) Expand all
125 // thread, we don't have a IPC::ChannelProxy and so we manage filters 122 // thread, we don't have a IPC::ChannelProxy and so we manage filters
126 // manually. 123 // manually.
127 std::vector<scoped_refptr<IPC::MessageFilter> > filters_; 124 std::vector<scoped_refptr<IPC::MessageFilter> > filters_;
128 125
129 DISALLOW_COPY_AND_ASSIGN(ChildProcessHostImpl); 126 DISALLOW_COPY_AND_ASSIGN(ChildProcessHostImpl);
130 }; 127 };
131 128
132 } // namespace content 129 } // namespace content
133 130
134 #endif // CONTENT_COMMON_CHILD_PROCESS_HOST_IMPL_H_ 131 #endif // CONTENT_COMMON_CHILD_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698