• yilkal's avatar
    Adds WebTimeLimitEnforcer. · 3121011a
    yilkal authored
    This CL adds WebTimeLimitEnforcer. The enforcer class finds and
    reloads all WebContents that can be found by iterating through
    the TabStripModel of each of the browsers in BrowserList.
    Reloading triggers a new navigation which will trigger
    WebTimeLimitNavigationThrottle to block the WebContents.
    
    
    
    Bug: 1015661
    Change-Id: I3d5e86f34c2eeb48f7a8ad4ca126cb4d4cde1cca
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1885510
    Commit-Queue: Yilkal Abe <yilkal@chromium.org>
    Reviewed-by: default avatarAga Wronska <agawronska@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#713507}
    3121011a
chrome_features.cc 38.5 KB