NANDAN MAJMUDAR
NANDAN MAJMUDAR

Reputation: 17

What is the corresponding method of WebViewClient's "shouldInterceptRequest" in Chromium Browser Code?

I'm working on a WebView Based Browser. I want to change its renderer to Chromium so I am mapping methods overridden from WebView, WebView Client, and Web Chrome Client in my Browser Code to those in Chromium code. I can't find the mapping of shouldInterceptRequest of WebView Client in Chromium code. How does Chromium handle shouldInterceptRequest?

I have tried to find intercepting functionality in Chromium code by searching some keywords but haven't yet found any matches. Also, there is a method shouldInterceptNavigation in Chromium that I found which was looking close to the functionality of shouldInterceptRequest, but while debugging that method doesn't get called in the scenarios where shouldInterceptRequest gets called.

Is there any method corresponding to shouldInterceptRequest in Chromium Code or some other way Chromium code is handling this functionality?

Upvotes: 0

Views: 144

Answers (0)

Related Questions