Index: third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl |
diff --git a/third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl b/third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl |
index 6e3cae4f23ac18c6f26ef9a16b0812c287dbaed0..0fbcb49557d4aec4b7883d26954100b841c48b23 100644 |
--- a/third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl |
+++ b/third_party/mojo/src/mojo/public/tools/bindings/generators/dart_templates/interface_definition.tmpl |
@@ -160,14 +160,6 @@ class {{interface|name}}Proxy implements bindings.ProxyBase { |
Future close({bool immediate: false}) => impl.close(immediate: immediate); |
- int get version => impl.version; |
- |
- Future<int> queryVersion() => impl.queryVersion(); |
- |
- void requireVersion(int requiredVersion) { |
- impl.requireVersion(requiredVersion); |
- } |
- |
String toString() { |
return "{{interface|name}}Proxy($impl)"; |
} |
@@ -210,11 +202,6 @@ class {{interface|name}}Stub extends bindings.Stub { |
{%- endfor %} |
Future<bindings.Message> handleMessage(bindings.ServiceMessage message) { |
- if (bindings.ControlMessageHandler.isControlMessage(message)) { |
- return bindings.ControlMessageHandler.handleMessage(this, |
- {{interface.version}}, |
- message); |
- } |
assert(_impl != null); |
switch (message.header.type) { |
{%- for method in interface.methods %} |
@@ -254,7 +241,7 @@ class {{interface|name}}Stub extends bindings.Stub { |
} |
{{interface|name}} get impl => _impl; |
- set impl({{interface|name}} d) { |
+ set impl({{interface|name}} d) { |
assert(_impl == null); |
_impl = d; |
} |
@@ -263,6 +250,4 @@ class {{interface|name}}Stub extends bindings.Stub { |
var superString = super.toString(); |
return "{{interface|name}}Stub($superString)"; |
} |
- |
- int get version => {{interface.version}}; |
} |