--
You received this message because you are subscribed to the Google Groups "Chromium Embedders" group.
To unsubscribe from this group and stop receiving emails from it, send an email to embedder-dev...@chromium.org.
To post to this group, send email to embedd...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/embedder-dev/CALhVsw0RQiJUx%3DZmyye7rpstLgh4cN9JS2j4a%3D%2BvdEBx%3D_MhvQ%40mail.gmail.com.
Thanks for the heads up. This is very helpful for me. Is there any issue to watch the progress.
And is any timeline for the plan?
Thanks,Deepak
--
You received this message because you are subscribed to the Google Groups "Chromium Embedders" group.
To unsubscribe from this group and stop receiving emails from it, send an email to embedder-dev...@chromium.org.
To post to this group, send email to embedd...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/embedder-dev/47e7ef40-5f9c-4c74-ad34-e6509bdfe8ff%40chromium.org.
On Tue, Mar 19, 2019 at 11:34 AM Deepak Mohan <hop2...@gmail.com> wrote:Hi,I am in the process of migrating legacy apis in Electron to enable network service. I was able to find the migration plan for* net::URLFetcher https://bugs.chromium.org/p/chromium/issues/detail?id=773295* NetworkDelegate https://bugs.chromium.org/p/chromium/issues/detail?id=721414* URLRequestContext https://bugs.chromium.org/p/chromium/issues/detail?id=825242but unable to find the migration path for protocol handlers, at the moment I am extracting the URLRequestContext from the NetworkContext and resetting the URLRequestJobFactory with our custom handlers. I see that some custom request jobs in Chrome (ex: URLRequestExtensionJob) still use the legacy code path, whats the plan for this type of migration ?To answer your question I think we need to know the NetworkService equivalent of URLRequestContextBuilder::SetProtocolHandler. For example, this code that currently exists for extensions:job_factory->SetProtocolHandler(extensions::kExtensionScheme,extensions::CreateExtensionProtocolHandler(is_incognito,extension_info_map_.get()));
----Thanks,Deepak
You received this message because you are subscribed to the Google Groups "Chromium Embedders" group.
To unsubscribe from this group and stop receiving emails from it, send an email to embedder-dev...@chromium.org.
To post to this group, send email to embedd...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/embedder-dev/47e7ef40-5f9c-4c74-ad34-e6509bdfe8ff%40chromium.org.
You received this message because you are subscribed to the Google Groups "network-service-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to network-service...@chromium.org.
To post to this group, send email to network-s...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/network-service-dev/CAFW9UJ-Z9Z4XRAHrLO%3DJM0nyAC%3D3AzSgsScmMgVnQ2iVR0vTJw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to network-service-dev+unsub...@chromium.org.
Thanks for the pointers! Its clear on how to register custom handlers and handle them. Follow up question, how does one go about intercepting existing URLLoaderFactory ? In pre network service world URLRequestJobManager had the builtin factories and we had option to chain custom URLRequestJobFactory to act as interceptors something like https://github.com/electron/electron/blob/master/atom/browser/net/url_request_context_getter.cc#L309-L324 .I see embedders can provide interceptors in ContentBrowserClient::WillCreateURLLoaderRequestInterceptors , but unlike the legacy interceptors they are not scheme filtered but rather generic and embedders can apply their filters to respond with the necessary URLLoaders, is this understanding correct ?
To unsubscribe from this group and stop receiving emails from it, send an email to network-service...@chromium.org.
To post to this group, send email to network-s...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/network-service-dev/CAFW9UJ-Z9Z4XRAHrLO%3DJM0nyAC%3D3AzSgsScmMgVnQ2iVR0vTJw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Chromium Embedders" group.
To unsubscribe from this group and stop receiving emails from it, send an email to embedder-dev...@chromium.org.
To post to this group, send email to embedd...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/embedder-dev/e95f4ef9-a291-4292-8883-dd3c052b6ead%40chromium.org.