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

Unified Diff: mojo/public/tools/bindings/generators/mojom_java_generator.py

Issue 683583002: Update mojo sdk to rev e083961bf11fd0c94d40be8853761da529b6d444 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: geolocation Created 6 years, 2 months 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: mojo/public/tools/bindings/generators/mojom_java_generator.py
diff --git a/mojo/public/tools/bindings/generators/mojom_java_generator.py b/mojo/public/tools/bindings/generators/mojom_java_generator.py
index 4ee6ce3678495fd38e4bafd823b66e4759ee4b81..4bede9a928170f0c00dc56fecb36214553ab1284 100644
--- a/mojo/public/tools/bindings/generators/mojom_java_generator.py
+++ b/mojo/public/tools/bindings/generators/mojom_java_generator.py
@@ -393,23 +393,25 @@ def ZipContentInto(root, zip_filename):
class Generator(generator.Generator):
java_filters = {
- 'array': GetArrayKind,
'array_expected_length': GetArrayExpectedLength,
- 'interface_response_name': GetInterfaceResponseName,
+ 'array': GetArrayKind,
'constant_value': ConstantValue,
- 'default_value': DefaultValue,
'decode_method': DecodeMethod,
- 'expression_to_text': ExpressionToText,
+ 'default_value': DefaultValue,
'encode_method': EncodeMethod,
- 'has_method_with_response': HasMethodWithResponse,
+ 'expression_to_text': ExpressionToText,
'has_method_without_response': HasMethodWithoutResponse,
+ 'has_method_with_response': HasMethodWithResponse,
+ 'interface_response_name': GetInterfaceResponseName,
+ 'is_array_kind': mojom.IsArrayKind,
'is_handle': mojom.IsNonInterfaceHandleKind,
'is_map_kind': mojom.IsMapKind,
'is_nullable_kind': mojom.IsNullableKind,
'is_pointer_array_kind': IsPointerArrayKind,
+ 'is_reference_kind': mojom.IsReferenceKind,
'is_struct_kind': mojom.IsStructKind,
- 'java_type': GetJavaType,
'java_true_false': GetJavaTrueFalse,
+ 'java_type': GetJavaType,
'method_ordinal_name': GetMethodOrdinalName,
'name': GetNameForElement,
'new_array': NewArray,

Powered by Google App Engine
This is Rietveld 408576698