1. 07 Nov, 2020 2 commits
    • rajendrant's avatar
      Refactor subresource redirect renderer code · 674a1af2
      rajendrant authored
      This CL refactors the existing subresource redirect code to make the
      robots rules and login based image compression implementation easy.
      
      * Separate out the url loader throttle that does redirect and timeout
      handling from the public image hints decider logic. The robots decider can
      be subclassed and used.
      
      * Make public image hints agent as renderframeobserver. This reduces
      cluttter in ResourceLoadingHintsAgent. The upcoming robots checker agent
      could also observe renderframeobserver directly.
      
      No change in behavior is expected.
      
      Change-Id: Ic555a4402016a645b8820fa87dd5157c7112fb71
      Bug: 1144836
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2514068
      Commit-Queue: rajendrant <rajendrant@chromium.org>
      Reviewed-by: default avatarMichael Crouse <mcrouse@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#825115}
      674a1af2
    • Kevin McNee's avatar
      Don't enable portals in the renderer without the browser's knowledge · c13db779
      Kevin McNee authored
      Currently, using
      --enable-blink-features=Portals
      or
      --enable-blink-test-features
      causes renderer kills because the renderer enables portals for itself
      with runtime_enabled_features, however the browser only considers the
      blink::features::kPortals feature.
      
      We have the renderer respect the value of blink::features::kPortals.
      We now ignore --enable-blink-features=Portals when the browser does not
      have portals enabled and only set portals' experimental/test status if
      the blink::features::kPortals default allows for it.
      
      Since now portals are not exposed for the blink testing config for web
      tests, we remove their interface listing expectations.
      
      Bug: None
      Change-Id: I02fe241e2ddd17d86eda896b2b2fa21c36bcb682
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518427
      Commit-Queue: Kevin McNee <mcnee@chromium.org>
      Reviewed-by: default avatarJeremy Roman <jbroman@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#825114}
      c13db779
  2. 06 Nov, 2020 38 commits