Support optional performance measuring in SubresourceFilter.
The purpose of this CL is to provide a mechanism for enabling or disabling SubresourceFilter's performance measuring on a per-page basis, i.e. consistently for all DocumentSubresourceFilter instances of a page. A decision on whether to measure performance (currently always true) originates in ContentSubresourceFilterDriverFactory. It is distributed to SubresourceFilterAgents first in the ActivateForProvisionalLoad message, and eventually reaches individual DocumentSubresourceFilter instances corresponding to each subframe document. BUG=672519 Review-Url: https://codereview.chromium.org/2556433003 Cr-Commit-Position: refs/heads/master@{#437837}
Showing
Please register or sign in to comment