diff options
author | mek <mek@chromium.org> | 2015-07-16 11:30:18 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-16 18:30:55 +0000 |
commit | 27c9d745b80924002ac4c053fe77f6d9be0f1089 (patch) | |
tree | aae867e393f673ad7871de2ba738846c8ea74d74 /content/content_common_mojo_bindings.gyp | |
parent | 8671e55a378e1dba2b065cca7b4ed3895a0b62e5 (diff) | |
download | chromium_src-27c9d745b80924002ac4c053fe77f6d9be0f1089.zip chromium_src-27c9d745b80924002ac4c053fe77f6d9be0f1089.tar.gz chromium_src-27c9d745b80924002ac4c053fe77f6d9be0f1089.tar.bz2 |
Add a mojo ServiceRegistry to embedded workers.
This sets up a pair of linked ServiceRegistry instances between the
EmbeddedWorkerInstance in the browser and ServiceWorkerContextClient
in the renderer. These ServiceRegistries can be used to use mojo to
dispatch events to a serviceworker, avoiding any need for
thread-hopping.
This is used in https://codereview.chromium.org/1210643002 to implement
the new navigator.services.onconnect event and in
https://codereview.chromium.org/1220943003 for the background sync event.
BUG=426458
Review URL: https://codereview.chromium.org/1221503003
Cr-Commit-Position: refs/heads/master@{#339082}
Diffstat (limited to 'content/content_common_mojo_bindings.gyp')
-rw-r--r-- | content/content_common_mojo_bindings.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/content_common_mojo_bindings.gyp b/content/content_common_mojo_bindings.gyp index f4175a3..4f9d16e 100644 --- a/content/content_common_mojo_bindings.gyp +++ b/content/content_common_mojo_bindings.gyp @@ -21,6 +21,7 @@ 'common/render_frame_setup.mojom', 'common/service_port_service.mojom', 'common/vr_service.mojom', + 'common/service_worker/embedded_worker_setup.mojom', # NOTE: Sources duplicated in # //content/public/common/BUILD.gn:mojo_bindings. |