CL 8889642: update_client: Add Configurator::IsVisiblePageLoading() [chromium/src : main]

0 views
Skip to first unread message

Tudor Cretu (Gerrit)

unread,
12:30 PM (2 hours ago) 12:30 PM
to chromium...@chromium.org, chromium-a...@chromium.org, ios-r...@chromium.org, ios-web-view...@google.com, ios-revie...@chromium.org, ios-rev...@chromium.org, marq+...@chromium.org, extension...@chromium.org

Tudor Cretu has uploaded change 8889642 for review

Commit message

update_client: Add Configurator::IsVisiblePageLoading()

Add a pure-virtual IsVisiblePageLoading() method to
update_client::Configurator so component_updater can detect active
visible or focused page loads without depending on browser layers.

On Android, ChromeConfigurator reads the global performance scenario
loading state. All other platforms and embedders return false. This
change has no behavior impact on its own; follow-up CLs will gate
scheduled update deferral behind a feature flag.
Bug: 593398014
Test: unit_tests --gtest_filter=ChromeComponentUpdaterConfiguratorTest.*
Change-Id: I8be1608161d538f23bd58d5d477a9bac2406fac7

Change diff


Change information

Files:
  • M chrome/browser/component_updater/BUILD.gn
  • M chrome/browser/component_updater/chrome_component_updater_configurator.cc
  • M chrome/browser/component_updater/chrome_component_updater_configurator_unittest.cc
  • M chrome/browser/extensions/updater/chrome_update_client_config.cc
  • M chrome/browser/extensions/updater/chrome_update_client_config.h
  • M chrome/updater/configurator.cc
  • M chrome/updater/configurator.h
  • M chrome/updater/ping_configurator.cc
  • M components/activity_reporter/configurator.cc
  • M components/activity_reporter/configurator.h
  • M components/update_client/configurator.h
  • M components/update_client/test_configurator.cc
  • M components/update_client/test_configurator.h
  • M ios/chrome/browser/component_updater/model/ios_component_updater_configurator.mm
  • M ios/web_view/internal/component_updater/web_view_component_updater_configurator.mm
Change size: M
Delta: 15 files changed, 133 insertions(+), 0 deletions(-)
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I8be1608161d538f23bd58d5d477a9bac2406fac7
Gerrit-Change-Number: 8889642
Gerrit-PatchSet: 1
Gerrit-Owner: Tudor Cretu <tudor...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages