• Matt Menke's avatar
    Remove file URL support from net/. · 27e91ae4
    Matt Menke authored
    This CL deletes FileProtocolHandler from net/, makes URLRequestFileJob
    a test-only class (HTTP request mocks subclass it), and deletes
    URLRequestFileDirJob and NetworkDelegate::CanAccessFile. File URLs are
    now handled outside of the network service, so this code is no longer
    being used.
    
    This CL leaves in place net/directory_* files, which are used by the
    new code (And should probably be moved somewhere more appropriate for
    their new use, in another CL), and the network build option
    disable_file_support, which should also be cleaned up when moving
    those files.
    
    TBR=seantopping@chromium.org
    
    Bug: 934009
    Change-Id: I2ef493849847adbb340a364de12ea41e91870b6d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1787187
    Commit-Queue: Matt Menke <mmenke@chromium.org>
    Reviewed-by: default avatarReilly Grant <reillyg@chromium.org>
    Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
    Reviewed-by: default avatarEric Roman <eroman@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#695192}
    27e91ae4
cast_network_delegate.h 1.71 KB