Index: Source/bindings/dart/DartInjectedScriptHost.h |
diff --git a/Source/bindings/dart/custom/DartWorkerCryptoCustom.cpp b/Source/bindings/dart/DartInjectedScriptHost.h |
similarity index 84% |
copy from Source/bindings/dart/custom/DartWorkerCryptoCustom.cpp |
copy to Source/bindings/dart/DartInjectedScriptHost.h |
index 9cf8e518bf09078d0f6f9a1d1e8b8fc338cbe95d..8bd8cfc71eaf98f933f544f3b5eb8edd63b2eddb 100644 |
--- a/Source/bindings/dart/custom/DartWorkerCryptoCustom.cpp |
+++ b/Source/bindings/dart/DartInjectedScriptHost.h |
@@ -27,19 +27,18 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-#include "config.h" |
-#include "DartWorkerCrypto.h" |
+#ifndef DartInjectedScriptHost_h |
+#define DartInjectedScriptHost_h |
-namespace WebCore { |
+#include <v8.h> |
-namespace DartWorkerCryptoInternal { |
+namespace WebCore { |
-void getRandomValuesCallback(Dart_NativeArguments) |
-{ |
- // FIXME: proper implementation. |
- DART_UNIMPLEMENTED(); |
-} |
+class DartInjectedScriptHost { |
+public: |
+ static v8::Handle<v8::Value> evaluateIfDartContext(v8::Handle<v8::Object> v8InjectedScriptHost, v8::Handle<v8::String> expression); |
+}; |
} |
-} |
+#endif // DartInjectedScriptHost_h |