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

Unified Diff: runtime/bin/vmservice/vmservice_io.dart

Issue 125103004: Move service into VM (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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
« no previous file with comments | « runtime/bin/vmservice/vmservice.dart ('k') | runtime/bin/vmservice_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/vmservice_io.dart
diff --git a/runtime/bin/vmservice/vmservice_io.dart b/runtime/bin/vmservice/vmservice_io.dart
index 8c77003564e4187c89cbbe2824d6dfccf3637720..5101858b1aa83aeacf440e4046fafa9f199a129e 100644
--- a/runtime/bin/vmservice/vmservice_io.dart
+++ b/runtime/bin/vmservice/vmservice_io.dart
@@ -8,20 +8,20 @@ import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'dart:isolate';
-import 'vmservice.dart';
+import 'dart:vmservice';
+part 'resources.dart';
part 'server.dart';
// The TCP port that the HTTP server listens on.
int _port;
-// The receive port that isolate startup / shutdown messages are delivered on.
-RawReceivePort _receivePort;
+// The VM service instance.
+VMService service;
main() {
- // Create VmService.
- var service = new VMService();
- _receivePort = service.receivePort;
+ // Get VMService.
+ service = new VMService();
// Start HTTP server.
var server = new Server(service, _port);
server.startServer();
« no previous file with comments | « runtime/bin/vmservice/vmservice.dart ('k') | runtime/bin/vmservice_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698