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

Side by Side Diff: sdk/lib/developer/extension.dart

Issue 2911903002: Use relative URIs for core library part-of statements. (Closed)
Patch Set: Fix warnings in web-sockets tests, typo in fasta. Created 3 years, 5 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/core/uri.dart ('k') | sdk/lib/developer/profiler.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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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.developer; 5 part of "developer.dart";
6 6
7 /// A response to a service protocol extension RPC. 7 /// A response to a service protocol extension RPC.
8 /// 8 ///
9 /// If the RPC was successful, use [ServiceExtensionResponse.result], otherwise 9 /// If the RPC was successful, use [ServiceExtensionResponse.result], otherwise
10 /// use [ServiceExtensionResponse.error]. 10 /// use [ServiceExtensionResponse.error].
11 class ServiceExtensionResponse { 11 class ServiceExtensionResponse {
12 final String _result; 12 final String _result;
13 final int _errorCode; 13 final int _errorCode;
14 final String _errorDetail; 14 final String _errorDetail;
15 15
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 external void _postEvent(String eventKind, String eventData); 165 external void _postEvent(String eventKind, String eventData);
166 166
167 // Both of these functions are written inside C++ to avoid updating the data 167 // Both of these functions are written inside C++ to avoid updating the data
168 // structures in Dart, getting an OOB, and observing stale state. Do not move 168 // structures in Dart, getting an OOB, and observing stale state. Do not move
169 // these into Dart code unless you can ensure that the operations will can be 169 // these into Dart code unless you can ensure that the operations will can be
170 // done atomically. Native code lives in vm/isolate.cc- 170 // done atomically. Native code lives in vm/isolate.cc-
171 // LookupServiceExtensionHandler and RegisterServiceExtensionHandler. 171 // LookupServiceExtensionHandler and RegisterServiceExtensionHandler.
172 external ServiceExtensionHandler _lookupExtension(String method); 172 external ServiceExtensionHandler _lookupExtension(String method);
173 external _registerExtension(String method, ServiceExtensionHandler handler); 173 external _registerExtension(String method, ServiceExtensionHandler handler);
OLDNEW
« no previous file with comments | « sdk/lib/core/uri.dart ('k') | sdk/lib/developer/profiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698