Stop doing async navigation interception on Android Webview

This feature improves page load time a lot on Chrome for Android,
but seems to regress performance on Android Webview [1].

On Webview, it seems like the JNI calls tend to be quite a bit
faster than in Chrome, so the latency of doing an async post task
probably ends up being a detriment.

Previously, this check was done via a platform ifdef. This CL turns
the "async policy" into an enum which is set in the intercept throttle's


Change-Id: I36ce7dfd21ae3c50f0a2b0568a3f681ebad8f2bf
Reviewed-by: Richard Coles <>
Reviewed-by: Avi Drissman <>
Reviewed-by: Nate Fischer <>
Commit-Queue: Charlie Harrison <>
Cr-Commit-Position: refs/heads/master@{#631869}
10 files changed