0

mojo: Add link to RuntimeFeature marking in feature C++ bindings docs

Bug: None
Change-Id: I16201f9ccc5069147a7d90171eeb84e49d83ffa1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5500455
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Auto-Submit: Michael Cui <mlcui@google.com>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1294444}
This commit is contained in:
mlcui
2024-04-30 17:30:44 +00:00
committed by Chromium LUCI CQ
parent 2dbb676457
commit 6229043607

@ -721,7 +721,8 @@ LOG(INFO) << "Value is " << value->get_string_value(); // DCHECK!
Mojom `feature` generates a `base::Feature` with the given `name` and
`default_state` (`true` => `ENABLED_BY_DEFAULT`). The feature can be accessed
and tested in C++ using the mapped name even if it is not used to mark any
interfaces or methods.
[interfaces](#runtimefeature-on-interfaces) or
[methods](#runtimefeature-on-methods).
```mojom
module experiment.mojom;