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

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: 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 44c881ef347584212a45367a1eddbec7c7ede2d1..ae68812592bc95e4d6e5c6271ec553b90200974e 100644
--- a/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp
+++ b/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.cpp
@@ -223,7 +223,7 @@ void OriginTrialContext::addToken(const String& token)
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;

Powered by Google App Engine
This is Rietveld 408576698