commit | 5080de6e58f68fdea85c21555e8eec837b278029 | [log] [tgz] |
---|---|---|
author | Aaron Colwell <acolwell@google.com> | Mon May 06 23:02:03 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 06 23:02:03 2019 |
tree | 1bf088a2338c75fe3b35e9693286d01363c03a5f | |
parent | 83a09b6777e50d5e7eb394c6501590642c480d26 [diff] |
Refactor SiteInstanceImpl::DoesSiteRequireDedicatedProcess(). - Splits DoesSiteRequireDedicatedProcess() into 2 pieces. DoesSiteRequireDedicatedProcess() accepts normal URLs as before, and the new DoesSiteURLRequireDedicatedProcess() accepts a site URL. This split will allow code that already has a site URL to determine whether the site requires a dedicated process w/o having to do an unneccessary GetSiteForURL() call. This also will enable the default site URL computation to be moved to GetSiteForURLInternal() in a followup CL. - Updated all DoesSiteRequireDedicatedProcess() calls that pass a site URL to call DoesSiteURLRequireDedicatedProcess() instead. This avoids making an extra GetSiteForURL() call that isn't necessary. Bug: 958060 Change-Id: Idbe42c514954bdde8de8cc1a88534601611424db Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1596222 Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Commit-Queue: Aaron Colwell <acolwell@chromium.org> Cr-Commit-Position: refs/heads/master@{#657020}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .