Home | History | Annotate | Download | only in ipc

Lines Matching defs:ChannelProxy

25 ChannelProxy::Context::Context(
38 // 1) Create the ChannelProxy on a different thread, or
41 // basically works, but is outside the intent of ChannelProxy. This support
46 ChannelProxy::Context::~Context() {
49 void ChannelProxy::Context::ClearIPCTaskRunner() {
53 void ChannelProxy::Context::CreateChannel(scoped_ptr<ChannelFactory> factory) {
59 bool ChannelProxy::Context::TryFilters(const Message& message) {
82 bool ChannelProxy::Context::OnMessageReceived(const Message& message) {
90 bool ChannelProxy::Context::OnMessageReceivedNoFilter(const Message& message) {
97 void ChannelProxy::Context::OnChannelConnected(int32 peer_pid) {
102 // creates a ChannelProxy, calls AddFilter, and then right after starts the
113 void ChannelProxy::Context::OnChannelError() {
123 void ChannelProxy::Context::OnChannelOpened() {
140 void ChannelProxy::Context::OnChannelClosed() {
141 // It's okay for IPC::ChannelProxy::Close to be called more than once, which
165 void ChannelProxy::Context::Clear() {
170 void ChannelProxy::Context::OnSendMessage(scoped_ptr<Message> message) {
181 void ChannelProxy::Context::OnAddFilter() {
208 void ChannelProxy::Context::OnRemoveFilter(MessageFilter* filter) {
238 void ChannelProxy::Context::AddFilter(MessageFilter* filter) {
246 void ChannelProxy::Context::OnDispatchMessage(const Message& message) {
251 TRACE_EVENT1("ipc", "ChannelProxy::Context::OnDispatchMessage",
254 TRACE_EVENT2("ipc", "ChannelProxy::Context::OnDispatchMessage",
285 void ChannelProxy::Context::OnDispatchConnected() {
295 void ChannelProxy::Context::OnDispatchError() {
301 void ChannelProxy::Context::OnDispatchBadMessage(const Message& message) {
309 scoped_ptr<ChannelProxy> ChannelProxy::Create(
314 scoped_ptr<ChannelProxy> channel(new ChannelProxy(listener, ipc_task_runner));
320 scoped_ptr<ChannelProxy> ChannelProxy::Create(
324 scoped_ptr<ChannelProxy> channel(new ChannelProxy(listener, ipc_task_runner));
329 ChannelProxy::ChannelProxy(Context* context)
334 ChannelProxy::ChannelProxy(
340 ChannelProxy::~ChannelProxy() {
346 void ChannelProxy::Init(const IPC::ChannelHandle& channel_handle,
362 void ChannelProxy::Init(scoped_ptr<ChannelFactory> factory,
386 void ChannelProxy::Close() {
400 bool ChannelProxy::Send(Message* message) {
412 base::Bind(&ChannelProxy::Context::OnSendMessage,
417 void ChannelProxy::AddFilter(MessageFilter* filter) {
423 void ChannelProxy::RemoveFilter(MessageFilter* filter) {
431 void ChannelProxy::ClearIPCTaskRunner() {
439 // ChannelProxy::Init().
440 int ChannelProxy::GetClientFileDescriptor() {
449 int ChannelProxy::TakeClientFileDescriptor() {