• arthursonzogni's avatar
    Refactor NavigationHandleImpl::RegisterNavigationThrottles. · b7c5f00a
    arthursonzogni authored
    This CL removes |throttles_to_register| and introduces |AddThrottle()|.
    This will be easier to know understand in which order the throttle are
    inserted into |throttle_|.
    
    Some throttle were not inserted in the right order. AncestorThrottle
    and MixedContentThrottle for instance.
    
    BUG=733099
    CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
    
    Review-Url: https://codereview.chromium.org/2967363002
    Cr-Commit-Position: refs/heads/master@{#485911}
    b7c5f00a
navigation_handle_impl.h 24.2 KB