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

Unified Diff: runtime/observatory/lib/src/models/repositories/class.dart

Issue 2212253002: Converted Observatory class-tree element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Removed tmp code 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/models/repositories/class.dart
diff --git a/runtime/observatory/lib/src/models/repository.dart b/runtime/observatory/lib/src/models/repositories/class.dart
similarity index 53%
rename from runtime/observatory/lib/src/models/repository.dart
rename to runtime/observatory/lib/src/models/repositories/class.dart
index 9aec1fdc103ef72bdc233402d7fb1734b8b76f20..388256e334f1f4670d16f9c481f8d368304de32f 100644
--- a/runtime/observatory/lib/src/models/repository.dart
+++ b/runtime/observatory/lib/src/models/repositories/class.dart
@@ -1,9 +1,10 @@
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
+// BSD-style license that can be found in the LICENSE file
part of models;
-abstract class Repository<ObjectT, DescriptorT> {
- Future<ObjectT> get(DescriptorT id);
+abstract class ClassRepository{
+ Future<Class> getObject();
+ Future<Class> get(String id);
}

Powered by Google App Engine
This is Rietveld 408576698