Chromium change:
https://source.chromium.org/chromium/chromium/src/+/844b35bf460b339650d488d005935f802543cd0f
[MagicStack] ModuleRegistry shouldn't be a singleton class.
In this CL:
1) ModuleRegistry is created by ChromeTabbedActivity, and is
plumbed to magic stack. This allows one ModuleRegistry per
ChromeActivity, and is safe to register builder instances based on
the ChromeActivity's data, like TabModel. A refactor is done to
plumb the ModuleRegistry instance to Start surface | NTP.
2) Move some static APIs from ModuleRegistry to singleton class
HomeModulesConfigManager. It allows HomeModulesConfigSettings to
access the set of configurable modules.
3) Replace ModuleProviderBuilder#isEligible() with a new
ModuleConfigChecker interface. It allows the details remain in each
module builder.
Bug: b/324312039