Index: third_party/WebKit/Source/core/origin_trials/testing/InternalsFrobulate.cpp |
diff --git a/third_party/WebKit/Source/core/origin_trials/testing/InternalsFrobulate.cpp b/third_party/WebKit/Source/core/origin_trials/testing/InternalsFrobulate.cpp |
deleted file mode 100644 |
index 3a199e6f9e913ddb64292d0d49f82c725a482342..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/core/origin_trials/testing/InternalsFrobulate.cpp |
+++ /dev/null |
@@ -1,30 +0,0 @@ |
-// Copyright 2015 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "core/origin_trials/testing/InternalsFrobulate.h" |
- |
-#include "bindings/core/v8/ExceptionState.h" |
-#include "core/dom/ExceptionCode.h" |
-#include "core/origin_trials/OriginTrials.h" |
- |
-namespace blink { |
- |
-// static |
-bool InternalsFrobulate::frobulate(ScriptState* scriptState, Internals& internals, ExceptionState& exceptionState) |
-{ |
- String errorMessage; |
- if (!OriginTrials::originTrialsSampleAPIEnabled(scriptState->getExecutionContext())) { |
- exceptionState.throwDOMException(NotSupportedError, "The Origin Trials Sample API has not been enabled in this context"); |
- return false; |
- } |
- return frobulateNoEnabledCheck(internals); |
-} |
- |
-// static |
-bool InternalsFrobulate::frobulateNoEnabledCheck(Internals& internals) |
-{ |
- return true; |
-} |
- |
-} // namespace blink |