| Index: third_party/WebKit/Source/core/origin_trials/testing/InternalsFrobulate.cpp
|
| diff --git a/third_party/WebKit/Source/core/experiments/testing/InternalsFrobulate.cpp b/third_party/WebKit/Source/core/origin_trials/testing/InternalsFrobulate.cpp
|
| similarity index 75%
|
| rename from third_party/WebKit/Source/core/experiments/testing/InternalsFrobulate.cpp
|
| rename to third_party/WebKit/Source/core/origin_trials/testing/InternalsFrobulate.cpp
|
| index 5d1ea1e65d4a21e592e8044d8b41e4a0fddbb0ae..f2b361faf60643d6c4c63fdd99a320308bd31333 100644
|
| --- a/third_party/WebKit/Source/core/experiments/testing/InternalsFrobulate.cpp
|
| +++ b/third_party/WebKit/Source/core/origin_trials/testing/InternalsFrobulate.cpp
|
| @@ -2,11 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "core/experiments/testing/InternalsFrobulate.h"
|
| +#include "core/origin_trials/testing/InternalsFrobulate.h"
|
|
|
| #include "bindings/core/v8/ExceptionState.h"
|
| #include "core/dom/ExceptionCode.h"
|
| -#include "core/experiments/ExperimentalFeatures.h"
|
| +#include "core/origin_trials/OriginTrials.h"
|
|
|
| namespace blink {
|
|
|
| @@ -14,7 +14,7 @@ namespace blink {
|
| bool InternalsFrobulate::frobulate(ScriptState* scriptState, Internals& internals, ExceptionState& exceptionState)
|
| {
|
| String errorMessage;
|
| - if (!ExperimentalFeatures::experimentalFrameworkSampleAPIEnabled(scriptState->executionContext(), errorMessage)) {
|
| + if (!OriginTrials::experimentalFrameworkSampleAPIEnabled(scriptState->executionContext(), errorMessage)) {
|
| exceptionState.throwDOMException(NotSupportedError, errorMessage);
|
| return false;
|
| }
|
|
|