• toyoshim's avatar
    Reload: FrameMsg_Navigate_Type cleanup to rename RELOAD_MAIN_RESOURCE · 63de737e
    toyoshim authored
    To use FrameMsg_Navigate_Type::RELOAD_MAIN_RESOURCE consistently
    instead of FrameMsg_Navigate_Type::RELOAD in content, rename
    RELOAD_MAIN_RESOURCE to RELOAD and override old behavior.
    
    This change introduces two functional changes:
    
     1. RELOAD_ORIGINAL_REQUEST_URL is changed to revalidate
        only main resource instead of revalidating all.
        (in render_frame_impl.cc ReloadFrameLoadTypeFor)
    
     2. In LoadDataURL(), replace flag is set for usual reload
        operations. This was the original behavior, but unexpectedly
        changed in newly introduced ReloadMainResource cases.
    
    BUG=670232
    CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
    
    Review-Url: https://codereview.chromium.org/2583123002
    Cr-Commit-Position: refs/heads/master@{#443518}
    63de737e
navigator_impl.cc 55 KB