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

Unified Diff: third_party/WebKit/Source/core/testing/PrivateScriptTest.cpp

Issue 2571063002: Remove Blink-in-JS (Closed)
Patch Set: Created 4 years 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/testing/PrivateScriptTest.cpp
diff --git a/third_party/WebKit/Source/core/testing/PrivateScriptTest.cpp b/third_party/WebKit/Source/core/testing/PrivateScriptTest.cpp
deleted file mode 100644
index ff382543c89fc381503f653bf39c1175194cc01d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/testing/PrivateScriptTest.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2014 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/testing/PrivateScriptTest.h"
-
-#include "bindings/core/v8/PrivateScriptRunner.h"
-#include "core/dom/Document.h"
-#include <v8.h>
-
-namespace blink {
-
-PrivateScriptTest::PrivateScriptTest(Document* document) {
- v8::Local<v8::Value> classObject =
- PrivateScriptRunner::installClassIfNeeded(document, "PrivateScriptTest");
- RELEASE_ASSERT(!classObject.IsEmpty());
-}
-
-int PrivateScriptTest::addIntegerImplementedInCPPForPrivateScriptOnly(
- int value1,
- int value2) {
- return value1 + value2;
-}
-
-String
-PrivateScriptTest::stringAttributeImplementedInCPPForPrivateScriptOnly() {
- return m_stringAttributeImplementedInCPPForPrivateSriptOnly;
-}
-
-void PrivateScriptTest::setStringAttributeImplementedInCPPForPrivateScriptOnly(
- String value) {
- m_stringAttributeImplementedInCPPForPrivateSriptOnly = value;
-}
-
-} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698