| 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 f22e8a86a3d3003756961bdf0db550ade8df573f..0d4c5f1c0860dafc3824e55c4b135207e5d91a6c 100644
|
| --- a/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h
|
| +++ b/third_party/WebKit/Source/core/origin_trials/OriginTrialContext.h
|
| @@ -72,6 +72,13 @@ public:
|
| // token validator object that is normally used (e.g. for testing).
|
| bool isFeatureEnabled(const String& featureName, String* errorMessage, WebTrialTokenValidator* = nullptr);
|
|
|
| + // 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);
|
|
|
|
|