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

Unified Diff: lib/src/script.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: Created 4 years, 8 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
Index: lib/src/script.dart
diff --git a/lib/src/script.dart b/lib/src/script.dart
index 12f4bfac80501fc627b615daf269d62a326cca5d..a41c18ddbd56a180aac66f329883be78d82f28f5 100644
--- a/lib/src/script.dart
+++ b/lib/src/script.dart
@@ -15,6 +15,8 @@ import 'object.dart';
import 'scope.dart';
import 'source_location.dart';
+String getScriptId(VMScriptRef scriptRef) => scriptRef._id;
nweiz 2016/04/28 19:44:00 If an RPC requires a script ID, it should be a met
kevmoo 2016/04/28 20:26:05 Done.
+
VMScriptRef newVMScriptRef(Scope scope, Map json) {
if (json == null) return null;
assert(json["type"] == "@Script" || json["type"] == "Script");

Powered by Google App Engine
This is Rietveld 408576698