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); |
} |