0

Docs: show how to set flags on Android & WebView

This updates the origin trials doc to explain how to set flags on Chrome
for Android and Android WebView, since the doc advises testing with
the `--origin-trial-public-key` commandline switch.

I haven't tested that this switch is actually supported in either
platform. I'm assuming this is the case.

Test: Upload to gerrit > open file > click "preview"
Change-Id: I767c6055f37d4ff67d8d0171959eb997f71c67d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4655616
Commit-Queue: Nate Fischer <ntfschr@chromium.org>
Reviewed-by: Peter Pakkenberg <pbirk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1184746}
This commit is contained in:
Nate Fischer
2023-08-17 15:59:24 +00:00
committed by Chromium LUCI CQ
parent 22504bc235
commit b3b80ef7b2

@ -389,6 +389,14 @@ You can also run Chrome with both the test public key and the default public key
along side by passing:
`--origin-trial-public-key=dRCs+TocuKkocNKa0AtZ4awrt9XKH2SQCI6o4FY6BNA=,fMS4mpO6buLQ/QMd+zJmxzty/VQ6B1EUZqoCU04zoRU=`
*** promo
**TIP:** See
[this doc](https://www.chromium.org/developers/how-tos/run-chromium-with-flags/)
to apply commandline switches for Chrome for Android and
[this doc](/android_webview/docs/commandline-flags.md) to apply commandline
switches for Android WebView.
***
The `--origin-trial-public-key` switch is not needed with `content_shell`, as it
uses the test public key by default.