service worker: Rename topmost_frame_url to site_for_cookies.
This aligns with ResourceRequest's naming, which is where the value comes from anyway. Note that ResourceRequest documentation states site_for_cookies is "usually" the topmost frame URL. This also allows the getter function to be called for service worker execution contexts. This simplifies some code at the callsite. Bug: 908311 Change-Id: Ief92f49d439e1219a6a33a7bafb03371d514b6e6 Reviewed-on: https://chromium-review.googlesource.com/c/1350415Reviewed-by:Makoto Shimazu <shimazu@chromium.org> Commit-Queue: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#610775}
Showing
Please register or sign in to comment