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

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

Issue 2271083002: Converted Observatory icdata-view element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fixed layout & text 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/icdata.dart
diff --git a/runtime/observatory/lib/src/repositories/context.dart b/runtime/observatory/lib/src/repositories/icdata.dart
similarity index 62%
copy from runtime/observatory/lib/src/repositories/context.dart
copy to runtime/observatory/lib/src/repositories/icdata.dart
index a088428894d1e5a9b62338fb2e1778a071e4b34b..18ce814bed04ca38d83fd0f9ebab3bff7f1f968d 100644
--- a/runtime/observatory/lib/src/repositories/context.dart
+++ b/runtime/observatory/lib/src/repositories/icdata.dart
@@ -4,12 +4,12 @@
part of repositories;
-class ContextRepository extends M.ContextRepository {
- ContextRepository();
+class ICDataRepository extends M.ICDataRepository {
+ ICDataRepository();
- Future<M.Context> get(M.IsolateRef i, String id) async{
+ Future<M.ICData> get(M.IsolateRef i, String id) async{
S.Isolate isolate = i as S.Isolate;
assert(isolate != null);
- return (await isolate.getObject(id)) as S.Context;
+ return (await isolate.getObject(id)) as S.ICData;
}
}
« no previous file with comments | « runtime/observatory/lib/src/models/repositories/icdata.dart ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698