| Index: content/browser/android/java/java_type.h
|
| diff --git a/content/browser/android/java/java_type.h b/content/browser/android/java/java_type.h
|
| index 884f70485eae8cbebc5bd30ab0fefdbb09bd335e..0ad12d69840e664f1a9480926d6b002687b1d45e 100644
|
| --- a/content/browser/android/java/java_type.h
|
| +++ b/content/browser/android/java/java_type.h
|
| @@ -8,12 +8,13 @@
|
| #include <string>
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "content/common/content_export.h"
|
|
|
| namespace content {
|
|
|
| // The type of a Java value. A light-weight enum-like structure intended for
|
| // use by value and in STL containers.
|
| -struct JavaType {
|
| +struct CONTENT_EXPORT JavaType {
|
| JavaType();
|
| JavaType(const JavaType& other);
|
| ~JavaType();
|
| @@ -23,6 +24,11 @@ struct JavaType {
|
| // 'binary name'.
|
| static JavaType CreateFromBinaryName(const std::string& binary_name);
|
|
|
| + // JNIName is used with FindClass.
|
| + std::string JNIName() const;
|
| + // JNISignature is used for creating method signatures.
|
| + std::string JNISignature() const;
|
| +
|
| enum Type {
|
| TypeBoolean,
|
| TypeByte,
|
| @@ -43,6 +49,7 @@ struct JavaType {
|
|
|
| Type type;
|
| scoped_ptr<JavaType> inner_type; // Used for TypeArray only.
|
| + std::string class_jni_name; // Used for TypeString and TypeObject only.
|
| };
|
|
|
| } // namespace content
|
|
|