Rewrite URL to indicate a request are from Maps lite PWA.
If |loggedIntentUrlParam| is in the AndroidManifest, we want to rewrite the URL to |start_url| appended with the original URL as a query parameter defined in |loggedIntentUrlParam|. The site for the WebAPK will know that the request is comming from a WebAPK, and doesn't redirect the url to a url which is out of the scope of the requested WebAPK. Otherwise, the url will be loaded in a CCT on top of the WebApkActivity. Bug: 775605 Change-Id: I6f24ea2c13c239812d2ba1d51d4898c1cd191856 Reviewed-on: https://chromium-review.googlesource.com/723846 Commit-Queue: Xi Han <hanxi@chromium.org> Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Reviewed-by:Peter Kotwicz <pkotwicz@chromium.org> Cr-Commit-Position: refs/heads/master@{#510122}
Showing
Please register or sign in to comment