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

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

Issue 1433183002: Generate Mojom Types for Dart (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Simplify identifier_store for Go and Dart Created 5 years, 1 month 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
+ /// 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