Enable Network Service to run on renderer device without dependency on Network File System.#53
Enable Network Service to run on renderer device without dependency on Network File System.#53venumusham wants to merge 2 commits intoSamsung:castanets_63from
Conversation
35e388d to
a2d8cc3
Compare
| #if !defined(OS_MACOSX) && !defined(OS_NACL) && !defined(OS_FUCHSIA) | ||
| #if defined(CASTANETS) | ||
| ScopedPlatformHandle server_handle = mojo::edk::CreateTCPServerHandle(mojo::edk::kCastanetsBrokerPort); | ||
| static int port = mojo::edk::kCastanetsBrokerPortUtility; |
There was a problem hiding this comment.
I think this will cause issue when opening second tab.
suyambulingamrm
left a comment
There was a problem hiding this comment.
The behavior when opening second tab can be checked once.
|
As a first step, this change should be rebased. I wonder whether it is possible to change the file protocol file's path to include browser process running device's ip before start loading, so url loader could load through it. How do you think about, Madhav? |
|
Add support to load subresources on Network service. - Create socketpair between network and renderer for data communication for non broker processes. - load data via mojo messages - create channels between network, browser and renderer, browser. Signed-off-by: venu.musham <venu.musham@samsung.com>
Add support for local shared memory. Local shared memory between network and renderer process for sharing network resources loaded by url loader. This commit enables Network Service to run on renderer device without dependency on Network File System. To enable local shared memory, add below to gn args $ gn gen --args='enable_castanets=true enable_local_shared_memory=true' out/Default Signed-off-by: venu.musham <venu.musham@samsung.com>
|
|
Currently we will face some challenge when running network process on android.
|
Cleanup debugging code which prints resource contents
on output.
Signed-off-by: venu.musham venu.musham@samsung.com