Avoid having two GetWebContents and GetBrowserClient in content/browser
There are currently two GetWebContents and two GetBrowserClient in content/browser. In certain non-default extreme jumbo builds GetWebContents in storage_partition_impl.cc and GetWebContents in network_service_client.cc could end up in the same translation unit and it would not compile. There were also one GetBrowserClient in storage_partition_impl.cc and one in clear_site_data_throttle.cc This renames one of the functions GetWebContents -> GetWebContentsForStoragePartition and one GetBrowserContext -> GetBrowserContextFromStoragePartition Bug: 952723 Change-Id: I85207edde5fcb85eaa6f32cf22ca05a6e324237b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1617837 Auto-Submit: Daniel Bratell <bratell@opera.com> Commit-Queue: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#661348}
Showing
Please register or sign in to comment