diff options
author | Steve Block <steveblock@google.com> | 2010-01-20 15:58:24 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-01-20 16:21:24 +0000 |
commit | a01a68253f642c4d9219f0aca9ccc6c5da9e46b0 (patch) | |
tree | e6b63db07e32cfa3755c04f6a3825b1addf9d52f /WebCore/bridge/jni/v8/JNIUtilityPrivate.h | |
parent | 39ec54cd97b22f88bb839d6cfe9710221b14a5b1 (diff) | |
download | external_webkit-a01a68253f642c4d9219f0aca9ccc6c5da9e46b0.zip external_webkit-a01a68253f642c4d9219f0aca9ccc6c5da9e46b0.tar.gz external_webkit-a01a68253f642c4d9219f0aca9ccc6c5da9e46b0.tar.bz2 |
Rename V8 jni_utility_private to JNIUtilityPrivate and fixes style
This is the V8 equivalent of http://trac.webkit.org/changeset/51756
It is being upstreamed to webkit.org in https://bugs.webkit.org/show_bug.cgi?id=33901
Change-Id: I336687e546748a7823f5e2d18f1ac1112a30a60c
Diffstat (limited to 'WebCore/bridge/jni/v8/JNIUtilityPrivate.h')
-rw-r--r-- | WebCore/bridge/jni/v8/JNIUtilityPrivate.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/WebCore/bridge/jni/v8/JNIUtilityPrivate.h b/WebCore/bridge/jni/v8/JNIUtilityPrivate.h new file mode 100644 index 0000000..f20cfb2 --- /dev/null +++ b/WebCore/bridge/jni/v8/JNIUtilityPrivate.h @@ -0,0 +1,43 @@ +/* + * Copyright 2009, The Android Open Source Project + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY + * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef JNIUtilityPrivate_h +#define JNIUtilityPrivate_h + +#include "JNIUtility.h" +#include "npruntime.h" + +namespace JSC { + +namespace Bindings { + +jvalue convertNPVariantToJValue(NPVariant, JNIType, const char* javaClassName); +void convertJValueToNPVariant(jvalue, JNIType, const char* javaClassName, NPVariant*); + +} // namespace Bindings + +} // namespace JSC + +#endif // JNIUtilityPrivate_h |