Commit 6f00f742 authored by Weilun Shi's avatar Weilun Shi Committed by Commit Bot

Update the comment in InitializeFromCommandLine

Put the real command-line flag `--enable-features=` in the comment of
InitializeFromCommandLine to avoid confusion.

Change-Id: I9bb542faebf2d0d8fe618142ebfbab56bc2c270e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2430363
Commit-Queue: Weilun Shi <sweilun@chromium.org>
Auto-Submit: Weilun Shi <sweilun@chromium.org>
Reviewed-by: default avatarSteven Holte <holte@chromium.org>
Reviewed-by: default avatarAlexei Svitkine <asvitkine@chromium.org>
Cr-Commit-Position: refs/heads/master@{#812303}
parent 81234211
...@@ -130,12 +130,12 @@ class BASE_EXPORT FeatureList { ...@@ -130,12 +130,12 @@ class BASE_EXPORT FeatureList {
using FeatureOverrideInfo = using FeatureOverrideInfo =
std::pair<const std::reference_wrapper<const Feature>, OverrideState>; std::pair<const std::reference_wrapper<const Feature>, OverrideState>;
// Initializes feature overrides via command-line flags |enable_features| and // Initializes feature overrides via command-line flags `--enable-features=`
// |disable_features|, each of which is a comma-separated list of features to // and `--disable-features=`, each of which is a comma-separated list of
// enable or disable, respectively. This function also allows users to set // features to enable or disable, respectively. This function also allows
// feature's field trial params via |enable_features|. Must only be invoked // users to set a feature's field trial params via `--enable-features=`. Must
// during the initialization phase (before FinalizeInitialization() has been // only be invoked during the initialization phase (before
// called). // FinalizeInitialization() has been called).
// //
// If a feature appears on both lists, then it will be disabled. If // If a feature appears on both lists, then it will be disabled. If
// a list entry has the format "FeatureName<TrialName" then this // a list entry has the format "FeatureName<TrialName" then this
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment