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

Unified Diff: lib/vm_service_client.dart

Issue 1929063002: pkg/vm_service_client: add getSourceReport to VMServiceReference (Closed) Base URL: https://github.com/dart-lang/vm_service_client.git@master
Patch Set: nits Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/source_report.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/vm_service_client.dart
diff --git a/lib/vm_service_client.dart b/lib/vm_service_client.dart
index f9062cef55caf96c9c6aaa104ddf881d58c583ba..11db4d2dc0aacaf94575711ae613a3ac9a7cfda8 100644
--- a/lib/vm_service_client.dart
+++ b/lib/vm_service_client.dart
@@ -37,10 +37,13 @@ export 'src/library.dart' hide newVMLibraryRef;
export 'src/message.dart' hide newVMMessage;
export 'src/object.dart';
export 'src/pause_event.dart' hide newVMPauseEvent;
-export 'src/script.dart' hide newVMScriptRef, newVMScriptToken;
+export 'src/script.dart' hide newVMScriptRef, newVMScriptToken,
+ newVMScriptTokenFromPosition;
export 'src/sentinel.dart' hide newVMSentinel;
export 'src/service_version.dart' hide newVMServiceVersion;
-export 'src/source_location.dart' hide newVMSourceLocation;
+export 'src/source_location.dart' hide newVMSourceLocation,
+ newVMSourceLocationFromPosition;
+export 'src/source_report.dart' hide newSourceReport;
export 'src/stack.dart' hide newVMStack;
export 'src/type_arguments.dart' hide newVMTypeArgumentsRef;
export 'src/unresolved_source_location.dart' hide newVMUnresolvedSourceLocation;
@@ -127,7 +130,7 @@ class VMServiceClient {
/// This is useful when using the client over a pre-existing connection. To
/// establish a connection from scratch, use [connect].
factory VMServiceClient(StreamChannel<String> channel) =>
- new VMServiceClient.withoutJson(channel.transform(jsonDocument));
+ new VMServiceClient.withoutJson(jsonDocument.bind(channel));
/// Creates a client that reads incoming decoded messages from [incoming] and
/// writes outgoing decoded messages to [outgoing].
« no previous file with comments | « lib/src/source_report.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698