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

Side by Side Diff: sdk/lib/vmservice/message.dart

Issue 2880543002: Revert "Change some platform libraries to use `part of URI`." (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « sdk/lib/vmservice/devfs.dart ('k') | sdk/lib/vmservice/message_router.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of "dart:_vmservice"; 5 part of dart._vmservice;
6 6
7 class Message { 7 class Message {
8 final Completer _completer = new Completer.sync(); 8 final Completer _completer = new Completer.sync();
9 bool get completed => _completer.isCompleted; 9 bool get completed => _completer.isCompleted;
10 10
11 /// Future of response. 11 /// Future of response.
12 Future<String> get response => _completer.future; 12 Future<String> get response => _completer.future;
13 Client client; 13 Client client;
14 14
15 // Client-side identifier for this message. 15 // Client-side identifier for this message.
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 184
185 void setErrorResponse(int code, String details) { 185 void setErrorResponse(int code, String details) {
186 _completer 186 _completer
187 .complete(encodeRpcError(this, code, details: '$method: $details')); 187 .complete(encodeRpcError(this, code, details: '$method: $details'));
188 } 188 }
189 } 189 }
190 190
191 external bool sendIsolateServiceMessage(SendPort sp, List m); 191 external bool sendIsolateServiceMessage(SendPort sp, List m);
192 external void sendRootServiceMessage(List m); 192 external void sendRootServiceMessage(List m);
193 external void sendObjectRootServiceMessage(List m); 193 external void sendObjectRootServiceMessage(List m);
OLDNEW
« no previous file with comments | « sdk/lib/vmservice/devfs.dart ('k') | sdk/lib/vmservice/message_router.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698