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

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

Issue 2289953003: Converted Observatory library-view element (Closed)
Patch Set: Fixed inspect page pattern matching 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/library.dart
diff --git a/runtime/observatory/lib/src/repositories/object.dart b/runtime/observatory/lib/src/repositories/library.dart
similarity index 62%
copy from runtime/observatory/lib/src/repositories/object.dart
copy to runtime/observatory/lib/src/repositories/library.dart
index bd6d143b23e0760d55f97df032a2e79fcd1fdfa7..987097ed398f7e45b59f9567399ec1271d9dcbc2 100644
--- a/runtime/observatory/lib/src/repositories/object.dart
+++ b/runtime/observatory/lib/src/repositories/library.dart
@@ -4,12 +4,12 @@
part of repositories;
-class ObjectRepository extends M.ObjectRepository {
- ObjectRepository();
+class LibraryRepository extends M.LibraryRepository {
+ LibraryRepository();
- Future<M.Object> get(M.IsolateRef i, String id) async{
+ Future<M.Library> get(M.IsolateRef i, String id) async{
S.Isolate isolate = i as S.Isolate;
assert(isolate != null);
- return (await isolate.getObject(id)) as S.HeapObject;
+ return (await isolate.getObject(id)) as S.Library;
}
}
« no previous file with comments | « runtime/observatory/lib/src/models/repositories/library.dart ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698