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

Unified Diff: mojo/public/interfaces/bindings/service_describer.mojom

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/public/interfaces/bindings/service_describer.mojom
diff --git a/mojo/public/interfaces/bindings/service_describer.mojom b/mojo/public/interfaces/bindings/service_describer.mojom
index 47c40e263230dfcba9cf7b84a3c9b29a7162572c..a24ff363c1f36a30f760ca19c6bfeefa1af31cb8 100644
--- a/mojo/public/interfaces/bindings/service_describer.mojom
+++ b/mojo/public/interfaces/bindings/service_describer.mojom
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-[JavaPackage="org.chromium.mojo.bindings"]
+[DartPackage="mojo", JavaPackage="org.chromium.mojo"]
// TODO(rudominer) Move this file into the module mojo.bindings when
// https://github.com/domokit/mojo/issues/435 is fixed.
-module mojo.bindings.types;
+module mojo;
import "mojom_types.mojom";
@@ -50,8 +50,7 @@ interface ServiceDescription {
// Returns the |UserDefinedType| for the given |type_key|. Valid keys are
// those that are embedded in the structures returned from earlier queries
// of this ServiceDescription. If the key is invalid then |type| will be null.
- GetTypeDefinition(string type_key) =>
- (mojo.bindings.types.UserDefinedType? type);
+ GetTypeDefinition(string type_key) => (UserDefinedType? type);
// Returns all the data queryable via GetTypeDefinition in a single
// structure, or null if the implementation is not willing or not able to

Powered by Google App Engine
This is Rietveld 408576698