Add DCHECK that Reload should never be called with ReloadType::NONE
In ReloadType, NONE means that the navigation is not a reload, so it makes no sense to call Reload function with ReloadType::NONE as parameter. This CL clarifies it by mentioning it in public API comment and add a DCHECK in the implementation. BUG= CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2740843004 Cr-Commit-Position: refs/heads/master@{#456129}
Showing
Please register or sign in to comment