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

Unified Diff: mojo/dart/packages/mojo/lib/src/stub.dart

Issue 1539673003: Generate Mojom Types in Dart (Take 2) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Move and Standardize Mojom Type Functions Created 4 years, 11 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/dart/packages/mojo/lib/src/stub.dart
diff --git a/mojo/dart/packages/mojo/lib/src/stub.dart b/mojo/dart/packages/mojo/lib/src/stub.dart
index ea09ae36467a34445595c894463a681ec68e9f45..1aa5e317819666caf75b278d142d160a31e1cb7a 100644
--- a/mojo/dart/packages/mojo/lib/src/stub.dart
+++ b/mojo/dart/packages/mojo/lib/src/stub.dart
@@ -132,4 +132,11 @@ abstract class Stub extends core.MojoEventHandler {
}
int get version;
+
+ /// Returns a service description, which exposes the mojom type information
zra 2016/01/27 18:15:12 Ditto.
alexfandrianto 2016/01/28 03:45:12 Done.
+ /// of the service being stubbed. This type information can be forwarded to
+ /// other Mojo applications and can be used to implement a generic client.
+ /// Note: In some implementations, the ServiceDescription returned will not
+ /// provide type information. Methods called may return null or an error.
+ service_describer.ServiceDescription get description => null;
}

Powered by Google App Engine
This is Rietveld 408576698