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

Unified Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/function_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/function_ref.dart
diff --git a/pkg/polymer/example/canonicalization/lib/b.dart b/runtime/bin/vmservice/client/lib/src/observatory_elements/function_ref.dart
similarity index 58%
copy from pkg/polymer/example/canonicalization/lib/b.dart
copy to runtime/bin/vmservice/client/lib/src/observatory_elements/function_ref.dart
index 0a3a29d87c9a9525ff29eb0b822465756e0d7133..3133ed754cdf991f38094e5c94a8618783c59861 100644
--- a/pkg/polymer/example/canonicalization/lib/b.dart
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/function_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.b;
+library function_ref_element;
import 'package:polymer/polymer.dart';
-import 'package:canonicalization/c.dart';
-import 'd.dart';
+import 'service_ref.dart';
-int b = 0;
-@initMethod _init() {
- b++;
- c++;
- d++;
+@CustomTag('function-ref')
+class FunctionRefElement extends ServiceRefElement {
+ FunctionRefElement.created() : super.created();
}

Powered by Google App Engine
This is Rietveld 408576698