blinkbuild: Remove class_member_name() in name_utilities.py.
Add to_class_data_member() to NameStyleConverter, and use it instead
of class_member_name().
* make_runtime_features.py:
- Remove feature.class_member_name. Replace its usage with
{{feature.name.to_class_data_member()}}.
- Introduce _data_member_name() and feature.data_member_name.
'is_{{snake_case_name}}_enabled_' is used repeatedly in the python
code and the templates.
This CL doesn't change generated C++ code.
Bug: 843927
Change-Id: I3b80460a05b155278a5f0bf46bddf0051a768457
Reviewed-on: https://chromium-review.googlesource.com/1073173Reviewed-by:
Hitoshi Yoshida <peria@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#561821}
Showing
Please register or sign in to comment