Fix chrome://x-callback-url support.
kExternalFilesLoadedInWebState flag forced to load all external URL in WebState which broke the support for chrome://x-callback-url URLs. This CL enables kExternalFilesLoadedInWebState codepath only for file:// URLs, because WebState can only load file URLs. With this change ExternalFileController is still not used when kExternalFilesLoadedInWebState is enabled. Bug: 923869 Change-Id: Iff438df5f8abb14dc85338acf18a3403fe3acd68 Reviewed-on: https://chromium-review.googlesource.com/c/1432593 Commit-Queue: Peter Lee <pkl@chromium.org> Auto-Submit: Eugene But <eugenebut@chromium.org> Reviewed-by:Peter Lee <pkl@chromium.org> Cr-Commit-Position: refs/heads/master@{#625830}
Showing
Please register or sign in to comment