ipc: Use a global for the process's attachment broker.
commit5708aae6ec926bddd69f3e9058f129d10a0d1873
authorerikchen <erikchen@chromium.org>
Mon, 14 Sep 2015 17:45:12 +0000 (14 10:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 14 Sep 2015 17:45:59 +0000 (14 17:45 +0000)
tree1d139378a2464f14c71419452eb7a2e53a718bba
parent4d53c25e7f09d990b52ef037b17d27690dd02614
ipc: Use a global for the process's attachment broker.

This eliminates the need for a lot of plumbing, at the expense of yet another
global.

BUG=493414

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

Cr-Commit-Position: refs/heads/master@{#348649}
38 files changed:
content/browser/gpu/browser_gpu_channel_host_factory.cc
content/browser/gpu/browser_gpu_channel_host_factory.h
content/browser/plugin_data_remover_impl.cc
content/browser/renderer_host/render_process_host_impl.cc
content/child/child_thread_impl.cc
content/child/child_thread_impl.h
content/child/npapi/np_channel_base.cc
content/child/npapi/np_channel_base.h
content/common/child_process_host_impl.cc
content/common/gpu/client/gpu_channel_host.cc
content/common/gpu/client/gpu_channel_host.h
content/common/gpu/gpu_channel.cc
content/common/gpu/gpu_channel.h
content/common/gpu/gpu_channel_manager.cc
content/common/gpu/gpu_channel_manager.h
content/common/gpu/gpu_channel_test_common.cc
content/common/gpu/gpu_channel_test_common.h
content/gpu/gpu_child_thread.cc
content/plugin/plugin_channel.cc
content/plugin/plugin_channel.h
content/plugin/plugin_thread.cc
content/public/child/child_thread.h
content/public/common/child_process_host.h
content/public/test/mock_render_thread.cc
content/public/test/mock_render_thread.h
content/renderer/npapi/plugin_channel_host.cc
content/renderer/npapi/plugin_channel_host.h
content/renderer/npapi/webplugin_delegate_proxy.cc
ipc/attachment_broker.cc
ipc/attachment_broker.h
ipc/attachment_broker_privileged_win_unittest.cc
ipc/ipc_channel_nacl.cc
ipc/ipc_channel_nacl.h
ipc/ipc_channel_posix.cc
ipc/ipc_channel_posix.h
ipc/ipc_channel_posix_unittest.cc
ipc/ipc_channel_win.cc
ipc/ipc_channel_win.h