Remove shell & webview AccessTokenStores
Content shell and Android webview don't make network geolocation requests. Previously these embedders had dummy (no-op) implementations of AccessTokenStore. This CL removes the dummy implementations and instead uses the existing UseNetworkLocationProviders flag in GeolocationDelegate as a gate. This is part of the removal of all AccessTokenStores. Overall design: https://docs.google.com/document/d/1A-ZYMadJkwdQad_pC3MbpuCVNOOnRP_UZjGnXl-FOqE Details of reasoning why this is safe: Content shell: AccessTokenStore was being created but LoadAccessTokens was not being called on it (after crrev.com/c/641175). Android webview: AccessTokenStore was being created and LoadAccessTokens was being called on it, but to no consequence due to an "#if defined(OS_ANDROID)" block at location_arbitrator.cc:174. Bug: 748921 Change-Id: I10ed3668ee015f855acf604e445643617bbe7713 Reviewed-on: https://chromium-review.googlesource.com/658010 Commit-Queue: Andrew Moylan <amoylan@chromium.org> Reviewed-by:Peter Beverloo <peter@chromium.org> Reviewed-by:
Selim Gurun <sgurun@chromium.org> Reviewed-by:
Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#501494}
Showing
Please register or sign in to comment