mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 22:00:47 +01:00
Adds getter for FieldTrialParameter keys.
This is useful in test tooling. Bug: webrtc:9346 Change-Id: I4a2ac52927cfe72f392f8748d3bada1e88db1b6a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/134209 Reviewed-by: Jonas Olsson <jonasolsson@webrtc.org> Commit-Queue: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27786}
This commit is contained in:
parent
eb37b13943
commit
e670fd9795
1 changed files with 2 additions and 2 deletions
|
@ -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<FieldTrialParameterInterface*> sub_parameters_;
|
||||
|
||||
std::string key_;
|
||||
|
||||
private:
|
||||
std::string key_;
|
||||
bool used_ = false;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue