Lines Matching defs:ChannelProxy
23 ChannelProxy::MessageFilter::MessageFilter() {}
25 void ChannelProxy::MessageFilter::OnFilterAdded(Channel* channel) {}
27 void ChannelProxy::MessageFilter::OnFilterRemoved() {}
29 void ChannelProxy::MessageFilter::OnChannelConnected(int32 peer_pid) {}
31 void ChannelProxy::MessageFilter::OnChannelError() {}
33 void ChannelProxy::MessageFilter::OnChannelClosing() {}
35 bool ChannelProxy::MessageFilter::OnMessageReceived(const Message& message) {
39 ChannelProxy::MessageFilter::~MessageFilter() {}
43 ChannelProxy::Context::Context(Listener* listener,
53 ChannelProxy::Context::~Context() {
56 void ChannelProxy::Context::ClearIPCTaskRunner() {
60 void ChannelProxy::Context::CreateChannel(const IPC::ChannelHandle& handle,
67 bool ChannelProxy::Context::TryFilters(const Message& message) {
87 bool ChannelProxy::Context::OnMessageReceived(const Message& message) {
95 bool ChannelProxy::Context::OnMessageReceivedNoFilter(const Message& message) {
106 void ChannelProxy::Context::OnChannelConnected(int32 peer_pid) {
108 // creates a ChannelProxy, calls AddFilter, and then right after starts the
124 void ChannelProxy::Context::OnChannelError() {
134 void ChannelProxy::Context::OnChannelOpened() {
151 void ChannelProxy::Context::OnChannelClosed() {
152 // It's okay for IPC::ChannelProxy::Close to be called more than once, which
172 void ChannelProxy::Context::Clear() {
177 void ChannelProxy::Context::OnSendMessage(scoped_ptr<Message> message) {
187 void ChannelProxy::Context::OnAddFilter() {
208 void ChannelProxy::Context::OnRemoveFilter(MessageFilter* filter) {
224 void ChannelProxy::Context::AddFilter(MessageFilter* filter) {
232 void ChannelProxy::Context::OnDispatchMessage(const Message& message) {
237 TRACE_EVENT1("task", "ChannelProxy::Context::OnDispatchMessage",
240 TRACE_EVENT2("task", "ChannelProxy::Context::OnDispatchMessage",
269 void ChannelProxy::Context::OnDispatchConnected() {
279 void ChannelProxy::Context::OnDispatchError() {
286 ChannelProxy::ChannelProxy(const IPC::ChannelHandle& channel_handle,
295 ChannelProxy::ChannelProxy(Context* context)
300 ChannelProxy::~ChannelProxy() {
306 void ChannelProxy::Init(const IPC::ChannelHandle& channel_handle,
340 void ChannelProxy::Close() {
354 bool ChannelProxy::Send(Message* message) {
366 base::Bind(&ChannelProxy::Context::OnSendMessage,
371 void ChannelProxy::AddFilter(MessageFilter* filter) {
377 void ChannelProxy::RemoveFilter(MessageFilter* filter) {
385 void ChannelProxy::ClearIPCTaskRunner() {
393 // ChannelProxy::Init().
394 int ChannelProxy::GetClientFileDescriptor() {
403 int ChannelProxy::TakeClientFileDescriptor() {
412 bool ChannelProxy::GetPeerEuid(uid_t* peer_euid) const {