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

Unified Diff: runtime/observatory/lib/src/models/repository.dart

Issue 2119733003: Wrapping leaf nodes in non polymer elements (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Converted script-link Created 4 years, 5 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/repository.dart
diff --git a/tests/compiler/dart2js/serialization/compilation4_test.dart b/runtime/observatory/lib/src/models/repository.dart
similarity index 55%
copy from tests/compiler/dart2js/serialization/compilation4_test.dart
copy to runtime/observatory/lib/src/models/repository.dart
index 7e2dc7cba91f780140e12f126e6acc4fcca01d65..309a83eb15850e0aaa48d429740b343894c516df 100644
--- a/tests/compiler/dart2js/serialization/compilation4_test.dart
+++ b/runtime/observatory/lib/src/models/repository.dart
@@ -2,11 +2,10 @@
// 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.
-library dart2js.serialization.compilation4_test;
+part of models;
-import 'compilation_test_helper.dart' as test;
-import 'test_data.dart';
-
-main() {
- test.main(['${3 * TESTS.length ~/ 4}']);
+abstract class Repository<ObjectT, DescriptorT> {
+ Future<ObjectT> get(DescriptorT id);
}
+
+abstract class ScriptRepository extends Repository<Script, String> {}

Powered by Google App Engine
This is Rietveld 408576698