From e39ac4b2cecb7a7475cf261e94b51f19bfe14acd Mon Sep 17 00:00:00 2001 From: Jason Chase <chasej@chromium.org> Date: Fri, 20 Dec 2024 07:46:15 -0800 Subject: [PATCH] Expand comment for test-only OT base feature The feature, "OriginTrialsSampleAPIThirdPartyAlternativeUsage", was flagged as stale and needing cleanup. This feature is needed for tests and should not be removed. Bug: 356236007 Change-Id: I1dd00ee90678b81576ee4ba4d2e155bb9b0af5ff Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6111822 Reviewed-by: Ian Clelland <iclelland@chromium.org> Commit-Queue: Jason Chase <chasej@chromium.org> Cr-Commit-Position: refs/heads/main@{#1399179} --- components/embedder_support/origin_trials/features.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/embedder_support/origin_trials/features.h b/components/embedder_support/origin_trials/features.h index 4d408cc353ece..2eaead37e50f8 100644 --- a/components/embedder_support/origin_trials/features.h +++ b/components/embedder_support/origin_trials/features.h @@ -11,6 +11,8 @@ namespace embedder_support { // Sample field trial feature for testing alternative usage restriction in // origin trial third party tokens. +// - While not used in production code, the feature must be kept for tests in +// components/embedder_support/origin_trials/origin_trial_policy_impl_unittest.cc. BASE_DECLARE_FEATURE(kOriginTrialsSampleAPIThirdPartyAlternativeUsage); } // namespace embedder_support