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

Unified Diff: third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp

Issue 1968653002: Rename flags for Origin Trials framework (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 7 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: third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp
diff --git a/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp b/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp
index ce5bfcd5aff736e0beecd1f615a05419a401d853..ee7ce06ea3c7f1d0b9fee0315c12ec851db4e5ca 100644
--- a/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp
+++ b/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp
@@ -243,7 +243,7 @@ void OriginTrialContext::addTokens(const Vector<String>& tokens)
bool OriginTrialContext::isFeatureEnabled(const String& featureName, String* errorMessage, WebTrialTokenValidator* validator)
{
- if (!RuntimeEnabledFeatures::experimentalFrameworkEnabled()) {
+ if (!RuntimeEnabledFeatures::originTrialsEnabled()) {
// Do not set an error message. When the framework is disabled, it
// should behave the same as when only runtime flags are used.
return false;
« no previous file with comments | « content/public/common/content_features.cc ('k') | third_party/WebKit/Source/core/origin_trials/OriginTrialContextTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698