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

Unified Diff: runtime/bin/vmservice/client/packages/observatory/src/observatory/application.dart

Issue 26686005: Revert 28422 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/bin/vmservice/client/packages/observatory/src/observatory/application.dart
diff --git a/runtime/bin/vmservice/client/packages/observatory/src/observatory/application.dart b/runtime/bin/vmservice/client/packages/observatory/src/observatory/application.dart
deleted file mode 100644
index d6fb05678b80a862b2166183b01d883194df03f6..0000000000000000000000000000000000000000
--- a/runtime/bin/vmservice/client/packages/observatory/src/observatory/application.dart
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2013, 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.
-
-part of observatory;
-
-/// The observatory application. Instances of this are created and owned
-/// by the observatory_application custom element.
-class ObservatoryApplication {
- final LocationManager locationManager = new LocationManager();
- final RequestManager requestManager = new HttpRequestManager();
- final IsolateManager isolateManager = new IsolateManager();
-
- ObservatoryApplication() {
- locationManager._application = this;
- requestManager._application = this;
- isolateManager._application = this;
- requestManager.interceptor = isolateManager._responseInterceptor;
- locationManager.init();
- }
-
- /// Return the [Isolate] with [id].
- Isolate getIsolate(int id) {
- return isolateManager.isolates[id];
- }
-
- /// Return the name of the isolate with [id].
- String getIsolateName(int id) {
- var isolate = getIsolate(id);
- if (isolate == null) {
- return 'Null Isolate';
- }
- return isolate.name;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698