Setup OriginTrialPolicy for BrowserTestBase on Android.
The OriginTrialPolicy is not setup on the browser process, on Android, on tests derived from BrowserTestBase. This is normally done from ContentMain(). This function is not called here, but reproduced more or less accurately by BrowserTestBase. To install an OriginTrialPolicy from the ContentClient, this requires accessing the ContentClient. So this patch is essentially exposing it through GetContentClientForTesting() and use it. Fixed: 1123953,1119555 Bug: 1123953,1119555 Change-Id: I403a391a84e8504c80d8df57212f347381d25c30 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2505979Reviewed-by:John Abd-El-Malek <jam@chromium.org> Reviewed-by:
danakj <danakj@chromium.org> Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Cr-Commit-Position: refs/heads/master@{#824106}
Showing
Please register or sign in to comment