Refactor NavigationHandleImpl::RegisterNavigationThrottles.
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}
Showing
Please register or sign in to comment