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

Unified Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/library_ref.dart

Issue 98253009: Refactor VM service IDs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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/bin/vmservice/client/lib/src/observatory_elements/library_ref.dart
diff --git a/pkg/polymer/example/canonicalization/lib/a.dart b/runtime/bin/vmservice/client/lib/src/observatory_elements/library_ref.dart
similarity index 58%
copy from pkg/polymer/example/canonicalization/lib/a.dart
copy to runtime/bin/vmservice/client/lib/src/observatory_elements/library_ref.dart
index 78426db67214373e8e60ef08a3cc33cf5cc762b4..cbe7d4b91520eec0f60b2afae03d7b5335e72ded 100644
--- a/pkg/polymer/example/canonicalization/lib/a.dart
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/library_ref.dart
@@ -2,15 +2,12 @@
// 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 canonicalization.a;
+library library_ref_element;
import 'package:polymer/polymer.dart';
-import 'package:canonicalization/c.dart';
-import 'd.dart';
+import 'service_ref.dart';
-int a = 0;
-@initMethod _init() {
- a++;
- c++;
- d++;
+@CustomTag('library-ref')
+class LibraryRefElement extends ServiceRefElement {
+ LibraryRefElement.created() : super.created();
}

Powered by Google App Engine
This is Rietveld 408576698