Complete SyncMessageFilter initialization after SyncChannel initialization
commit29ade1b15c854942b553c446df18ad3f3f46a931
authorrockot <rockot@chromium.org>
Fri, 7 Aug 2015 06:23:59 +0000 (6 23:23 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 7 Aug 2015 06:24:36 +0000 (7 06:24 +0000)
tree91ac428dc18c19f51a121b628af812557a0e3878
parent37ca25b5d3030b6d2f929c597f533478679a9fe1
Complete SyncMessageFilter initialization after SyncChannel initialization

This changes SyncChannel to keep track of any SyncMessageFilters it
creates prior to ChannelProxy::Init being called. Once Init completes,
initialization of all tracked SyncMessageFilters is completed by
updating their is_channel_send_thread_safe flag.

BUG=516464
R=jam@chromium.org

Review URL: https://codereview.chromium.org/1279863004

Cr-Commit-Position: refs/heads/master@{#342308}
ipc/ipc_channel_proxy.cc
ipc/ipc_channel_proxy.h
ipc/ipc_sync_channel.cc
ipc/ipc_sync_channel.h
ipc/ipc_sync_message_filter.h