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

Unified Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/script_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/script_ref.dart
diff --git a/pkg/polymer/example/canonicalization/lib/a.dart b/runtime/bin/vmservice/client/lib/src/observatory_elements/script_ref.dart
similarity index 59%
copy from pkg/polymer/example/canonicalization/lib/a.dart
copy to runtime/bin/vmservice/client/lib/src/observatory_elements/script_ref.dart
index 78426db67214373e8e60ef08a3cc33cf5cc762b4..bf6e00bcbe9b8bb49206291ead35440156f63588 100644
--- a/pkg/polymer/example/canonicalization/lib/a.dart
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/script_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 script_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('script-ref')
+class ScriptRefElement extends ServiceRefElement {
+ ScriptRefElement.created() : super.created();
}

Powered by Google App Engine
This is Rietveld 408576698