Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: webrtc/system_wrappers/include/field_trial.h

Issue 2717973005: Test field trial group with startswith rather than equals. (Closed)
Patch Set: const char*, two more IsEnabled Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 62fbfd1a50e59dd37c5c712f012af932b7940626..d649191563e9697344748266206ad065bfb49c33 100644
--- a/webrtc/system_wrappers/include/field_trial.h
+++ b/webrtc/system_wrappers/include/field_trial.h
@@ -62,6 +62,10 @@ namespace field_trial {
// Note: To keep things tidy append all the trial names with WebRTC.
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);
+
} // namespace field_trial
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698