| Index: webrtc/system_wrappers/include/field_trial.h
|
| diff --git a/webrtc/system_wrappers/include/field_trial.h b/webrtc/system_wrappers/include/field_trial.h
|
| index d649191563e9697344748266206ad065bfb49c33..b94be2cf115ff1eabfed581fed9ebde45424f26b 100644
|
| --- a/webrtc/system_wrappers/include/field_trial.h
|
| +++ b/webrtc/system_wrappers/include/field_trial.h
|
| @@ -64,7 +64,10 @@ std::string FindFullName(const std::string& name);
|
|
|
| // Convenience method, returns true iff FindFullName(name) return a string that
|
| // starts with "Enabled".
|
| -bool IsEnabled(const char* name);
|
| +// TODO(tommi): Make sure all implementations support this.
|
| +inline bool IsEnabled(const char* name) {
|
| + return FindFullName(name).find("Enabled") == 0;
|
| +}
|
|
|
| } // namespace field_trial
|
| } // namespace webrtc
|
|
|