Adding x-geo header to Search Prefetch on Android
This CL exposes the Java API to add the x-geo (geolocation) header based on URL and Profile. Because prefetch isn't visible to the user or tied to a tab, this exposes a version of the Java API that does not use Tab to determine if the permission can be granted. I added a dedicated bridge file on native to deal with unused build errors when including the JNI header in two different native cc files. Bug: 1138648 Change-Id: Ib66469f82a6b2737a4679ea3a911051ad33a16c1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2559228 Commit-Queue: Ryan Sturm <ryansturm@chromium.org> Reviewed-by:Robert Ogden <robertogden@chromium.org> Reviewed-by:
Filip Gorski <fgorski@chromium.org> Cr-Commit-Position: refs/heads/master@{#837829}
Showing
Please register or sign in to comment