| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_TYPE_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_JAVA_JAVA_TYPE_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_TYPE_H_ | 6 #define CONTENT_BROWSER_ANDROID_JAVA_JAVA_TYPE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 | 11 |
| 12 namespace content { | 12 namespace content { |
| 13 | 13 |
| 14 // The type of a Java value. A light-weight enum-like structure intended for | 14 // The type of a Java value. A light-weight enum-like structure intended for |
| 15 // use by value and in STL containers. | 15 // use by value and in STL containers. |
| 16 struct JavaType { | 16 struct JavaType { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 40 TypeString, | 40 TypeString, |
| 41 TypeObject, | 41 TypeObject, |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 Type type; | 44 Type type; |
| 45 scoped_ptr<JavaType> inner_type; // Used for TypeArray only. | 45 scoped_ptr<JavaType> inner_type; // Used for TypeArray only. |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace content | 48 } // namespace content |
| 49 | 49 |
| 50 #endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_TYPE_H_ | 50 #endif // CONTENT_BROWSER_ANDROID_JAVA_JAVA_TYPE_H_ |
| OLD | NEW |