• Eugene But's avatar
    Fix chrome://x-callback-url support. · 3cb0d252
    Eugene But authored
    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: default avatarPeter Lee <pkl@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#625830}
    3cb0d252
user_activity_handler.mm 15.4 KB