Update client side navigator.connect API to use ServicePortCollection [2/3]
commitd4ff9b576f5a9c1a0d3352db498fe222b69725cb
authormek <mek@chromium.org>
Mon, 29 Jun 2015 21:02:23 +0000 (29 14:02 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 29 Jun 2015 21:03:01 +0000 (29 21:03 +0000)
tree5fae0be95cbd145f09d3afeb685ec90105d441b7
parent6ebe2cd94eed4b3259eb7f895d321294e66d94de
Update client side navigator.connect API to use ServicePortCollection [2/3]

This is part of a series of patches to update the client side API of what was
formerly known as navigator.connect to follow the new spec based on
navigator.services and a new ServicePort type.

This patch updates the content side code to use mojo for most of its IPC,
although still relying somewhat on MessagePort since the existing service side
code uses MessagePort concepts. A future patch series will also adjust the service
side API to use ServicePort and get rid of the dependency on MessagePort.

[1/3] https://codereview.chromium.org/1191393003 Blink side changes
[2/3] https://codereview.chromium.org/1192713004 This patch
[3/3] https://codereview.chromium.org/1198653004/
      Cleanup and removing old code paths on the blink side and in tests.

BUG=426458

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

Cr-Commit-Position: refs/heads/master@{#336636}
31 files changed:
content/browser/navigator_connect/navigator_connect_context_impl.cc
content/browser/navigator_connect/navigator_connect_context_impl.h
content/browser/navigator_connect/navigator_connect_dispatcher_host.cc [deleted file]
content/browser/navigator_connect/navigator_connect_dispatcher_host.h [deleted file]
content/browser/navigator_connect/service_port_service_impl.cc [new file with mode: 0644]
content/browser/navigator_connect/service_port_service_impl.h [new file with mode: 0644]
content/browser/renderer_host/render_process_host_impl.cc
content/child/blink_platform_impl.cc
content/child/blink_platform_impl.h
content/child/child_thread_impl.cc
content/child/child_thread_impl.h
content/child/navigator_connect/navigator_connect_dispatcher.cc [deleted file]
content/child/navigator_connect/navigator_connect_dispatcher.h [deleted file]
content/child/navigator_connect/navigator_connect_provider.cc [deleted file]
content/child/navigator_connect/navigator_connect_provider.h [deleted file]
content/child/navigator_connect/service_port_provider.cc [new file with mode: 0644]
content/child/navigator_connect/service_port_provider.h [new file with mode: 0644]
content/child/webmessageportchannel_impl.cc
content/child/webmessageportchannel_impl.h
content/common/BUILD.gn
content/common/content_message_generator.h
content/common/navigator_connect_messages.h [deleted file]
content/common/service_port_service.mojom [new file with mode: 0644]
content/common/service_port_type_converters.cc [new file with mode: 0644]
content/common/service_port_type_converters.h [new file with mode: 0644]
content/common/service_worker/service_worker_messages.h
content/content_browser.gypi
content/content_child.gypi
content/content_common.gypi
content/content_common_mojo_bindings.gyp
ipc/ipc_message_start.h