Index: third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h |
diff --git a/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h b/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h |
index 8499a3fb90eacbf98302a97c1f3b1423dc2b3f24..16ba61e76ccfcd5b6c6e5cfafa01b79fb1054ded 100644 |
--- a/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h |
+++ b/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h |
@@ -70,6 +70,13 @@ public: |
// to provide a message for features that are not enabled. |
bool isFeatureEnabled(const String& featureName, String* errorMessage); |
+ // Installs JavaScript bindings for any features which should be enabled by |
+ // the current set of trial tokens. This method is idempotent; only features |
+ // which have been enabled since the last time it was run will be installed. |
+ // If the V8 context for the host execution context has not been |
+ // initialized, then this method will return without doing anything. |
+ void initializePendingTrials(); |
+ |
void setFeatureBindingsInstalled(const String& featureName); |
bool featureBindingsInstalled(const String& featureName); |