commit | 534689799bf78cefe0fab8761bfa8baeeb2f6a9c | [log] [tgz] |
---|---|---|
author | Sreeja Kamishetty <[email protected]> | Tue Jul 13 11:53:32 2021 |
committer | Chromium LUCI CQ <[email protected]> | Tue Jul 13 11:53:32 2021 |
tree | 375656afb5a915ec1f5a203e67db38b79f810d4c | |
parent | d356d93329d7c413688141de7c207c385a5f74b4 [diff] |
[content] Pass new Page& parameter to PrimaryPageChanged This CL adds a new Page& parameter to WebContentsObserver::PrimaryPageChanged to allow embedders to access the page-related data associated with the new page. For TrustedCDN/Observer we replace DidFinishNavigation with PrimaryPageChanged(Page& page) to only track for primary pages. We add a new method GetLastResponseHeaders() to return the HttpResponseHeaders for a given RenderFrameHost. This method is a partial reland of crrev.com/c/2737035. BUG=1216383,1224345 Change-Id: Ib0f2fbec072860be6bcb3c5a8ac70440771c89d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2992691 Auto-Submit: Sreeja Kamishetty <[email protected]> Commit-Queue: Sreeja Kamishetty <[email protected]> Reviewed-by: Scott Violet <[email protected]> Reviewed-by: Bo <[email protected]> Reviewed-by: Alexander Timin <[email protected]> Reviewed-by: Alex Moshchuk <[email protected]> Reviewed-by: Henrique Ferreiro <[email protected]> Cr-Commit-Position: refs/heads/master@{#900952}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.