| Index: third_party/WebKit/Source/core/experiments/Experiments.cpp
|
| diff --git a/third_party/WebKit/Source/core/experiments/Experiments.cpp b/third_party/WebKit/Source/core/experiments/Experiments.cpp
|
| index cdcfd4fb2abaa2ad65ffdebfbb2dda98b90f7838..882e2345d34da2f4d70c71ebc1ed3276998f5284 100644
|
| --- a/third_party/WebKit/Source/core/experiments/Experiments.cpp
|
| +++ b/third_party/WebKit/Source/core/experiments/Experiments.cpp
|
| @@ -75,6 +75,12 @@ bool Experiments::isApiEnabled(ExecutionContext* executionContext, const String&
|
| return hasValidAPIKey(executionContext, apiName, errorMessage);
|
| }
|
|
|
| +bool Experiments::isApiEnabledWithoutMessage(ExecutionContext* executionContext, const String& apiName)
|
| +{
|
| + String errorMessage;
|
| + return isApiEnabled(executionContext, apiName, errorMessage);
|
| +}
|
| +
|
| DOMException* Experiments::createApiDisabledException(const String& apiName)
|
| {
|
| return DOMException::create(NotSupportedError, getDisabledMessage(apiName));
|
|
|