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

Unified Diff: runtime/observatory/lib/src/repositories/type_arguments.dart

Issue 2291233002: Converted Observatory instance-view element (Closed)
Patch Set: Addressed comments Created 4 years, 4 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: runtime/observatory/lib/src/repositories/type_arguments.dart
diff --git a/runtime/observatory/lib/src/repositories/script.dart b/runtime/observatory/lib/src/repositories/type_arguments.dart
similarity index 63%
copy from runtime/observatory/lib/src/repositories/script.dart
copy to runtime/observatory/lib/src/repositories/type_arguments.dart
index e0fea2d2c409967d83d5b1c60605b315f13f3140..c84f54871c9af6fa79e67db74bd9b55640a9e405 100644
--- a/runtime/observatory/lib/src/repositories/script.dart
+++ b/runtime/observatory/lib/src/repositories/type_arguments.dart
@@ -4,11 +4,11 @@
part of repositories;
-class ScriptRepository implements M.ScriptRepository {
- Future<M.Script> get(M.IsolateRef i, String id) async {
+class TypeArgumentsRepository implements M.TypeArgumentsRepository {
+ Future<M.TypeArguments> get(M.IsolateRef i, String id) async {
S.Isolate isolate = i as S.Isolate;
assert(i != null);
assert(id != null);
- return (await isolate.getObject(id)) as M.Script;
+ return (await isolate.getObject(id)) as M.TypeArguments;
}
}
« no previous file with comments | « runtime/observatory/lib/src/repositories/breakpoint.dart ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698