Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: third_party/WebKit/Source/core/experiments/testing/InternalsFrobulate.cpp

Issue 1635593004: Rename Experimental Framework classes and concepts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/experiments/testing/InternalsFrobulate.cpp
diff --git a/third_party/WebKit/Source/core/experiments/testing/InternalsFrobulate.cpp b/third_party/WebKit/Source/core/experiments/testing/InternalsFrobulate.cpp
deleted file mode 100644
index 5d1ea1e65d4a21e592e8044d8b41e4a0fddbb0ae..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/experiments/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/experiments/testing/InternalsFrobulate.h"
-
-#include "bindings/core/v8/ExceptionState.h"
-#include "core/dom/ExceptionCode.h"
-#include "core/experiments/ExperimentalFeatures.h"
-
-namespace blink {
-
-// static
-bool InternalsFrobulate::frobulate(ScriptState* scriptState, Internals& internals, ExceptionState& exceptionState)
-{
- String errorMessage;
- if (!ExperimentalFeatures::experimentalFrameworkSampleAPIEnabled(scriptState->executionContext(), errorMessage)) {
- exceptionState.throwDOMException(NotSupportedError, errorMessage);
- return false;
- }
- return frobulateNoEnabledCheck(internals);
-}
-
-// static
-bool InternalsFrobulate::frobulateNoEnabledCheck(Internals& internals)
-{
- return true;
-}
-
-} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698