commit | 4b8e54432de7377a2fe992611d6d8ca817154ec0 | [log] [tgz] |
---|---|---|
author | Maksim Ivanov <emaxx@chromium.org> | Sat Feb 16 02:59:24 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Feb 16 02:59:24 2019 |
tree | e6e46ce55edef8155976ae1718df91451e7c9d91 | |
parent | f38303c8e6f4ae3c33da2ec87440cca5f36cb657 [diff] |
Create extension source message port early This is a pure refactoring CL. It slightly changes the extensions message channel initialization flow, so that the ExtensionMessagePort instance of the source endpoint is constructed earlier - as soon as MessageService::OpenChannel*() is called - rather than later after all checks and asynchronous tasks are done. The goal is to streamline the whole initialization process in align with native-process-initiated message channels that will be implemented soon, because in their case the source message port will be passed as a parameter to MessageService from non-//extensions code. BUG=chromium:898746 TEST=existing tests Change-Id: I057e1ef8292a2892e09465ccf973d2fbbb0cbc42 Reviewed-on: https://chromium-review.googlesource.com/c/1470192 Reviewed-by: Devlin <rdevlin.cronin@chromium.org> Commit-Queue: Maksim Ivanov <emaxx@chromium.org> Cr-Commit-Position: refs/heads/master@{#632888}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .