diff --git a/rtc_base/experiments/field_trial_parser.h b/rtc_base/experiments/field_trial_parser.h index a63cb20ef0..73b6ca837a 100644 --- a/rtc_base/experiments/field_trial_parser.h +++ b/rtc_base/experiments/field_trial_parser.h @@ -38,6 +38,7 @@ namespace webrtc { class FieldTrialParameterInterface { public: virtual ~FieldTrialParameterInterface(); + std::string key() const { return key_; } protected: // Protected to allow implementations to provide assignment and copy. @@ -55,9 +56,8 @@ class FieldTrialParameterInterface { std::vector sub_parameters_; - std::string key_; - private: + std::string key_; bool used_ = false; };