Restructure ChromeSubresourceFilterClient::ShowNotification() impl
This CL coalesces the implementation of ChromeSubresourceFilterClient::ShowNotification() to simplify a followup CL that will: - Move the bulk of this implementation into a new ProfileInteractionManager::MaybeShowNotification(client) method that the throttle manager will invoke directly, with that method calling client->ShowNotification() and the only remaining code in ChromeSubresourceFilterClient::ShowNotification() being the actual showing of the infobar With that followup CL, WebLayer will then share the core logic that will be moved into ProfileInteractionManager. In this CL, however, there is no behavioral change. Bug: 1116095 Change-Id: Ia9d61d6ebc8c323cfc9054a58a22acbe89e27d22 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2628992 Commit-Queue: Colin Blundell <blundell@chromium.org> Reviewed-by:Charlie Harrison <csharrison@chromium.org> Cr-Commit-Position: refs/heads/master@{#844816}
Showing
Please register or sign in to comment