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

Side by Side 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: Merge with master Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 part of bindings; 5 part of bindings;
6 6
7 abstract class Stub extends core.MojoEventHandler { 7 abstract class Stub extends core.MojoEventHandler {
8 int _outstandingResponseFutures = 0; 8 int _outstandingResponseFutures = 0;
9 bool _isClosing = false; 9 bool _isClosing = false;
10 Completer _closeCompleter; 10 Completer _closeCompleter;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 var header = new MessageHeader.withRequestId(name, flags, id); 125 var header = new MessageHeader.withRequestId(name, flags, id);
126 return response.serializeWithHeader(header); 126 return response.serializeWithHeader(header);
127 } 127 }
128 128
129 String toString() { 129 String toString() {
130 var superString = super.toString(); 130 var superString = super.toString();
131 return "Stub(${superString})"; 131 return "Stub(${superString})";
132 } 132 }
133 133
134 int get version; 134 int get version;
135
136 /// Returns a service description, which exposes the mojom type information
137 /// of the service being stubbed.
138 /// Note: The description is null or incomplete if type info is unavailable.
139 service_describer.ServiceDescription get description => null;
135 } 140 }
OLDNEW
« no previous file with comments | « mojo/dart/packages/mojo/lib/src/proxy.dart ('k') | mojo/dart/packages/mojo_services/lib/activity/activity.mojom.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698