Ensure runtime enabled features are enabled as part of activating navigation trials.
2 small fixes for OriginTrialContext: * only exit early from InitializePendingFeatures if there are no enabled features, and no navigation features * ensure OriginTrialContext::IsFeatureEnabled (which is invoked via RuntimeEnabledFeatures, for OT features) returns true if a feature was activated via navigation. These were discovered while writing tests as part of https://chromium-review.googlesource.com/c/chromium/src/+/1601980. Change-Id: Ia8e711ab61dc4bf14a6e3c12a52faf5e1f096bec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1618175Reviewed-by:Ian Clelland <iclelland@chromium.org> Commit-Queue: Bryan McQuade <bmcquade@chromium.org> Cr-Commit-Position: refs/heads/master@{#662935}
Showing
Please register or sign in to comment