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

Unified Diff: runtime/vm/service/vmservice.dart

Issue 889443002: Service isolate rework take 2 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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/vm/service.cc ('k') | runtime/vm/unit_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service/vmservice.dart
diff --git a/runtime/vm/service/vmservice.dart b/runtime/vm/service/vmservice.dart
index 10e73c9b88257fb84aa423bb31a6656b2347cfdd..f569a8e6dfbd7ac85c1b5aac7d435dcb99aa3920 100644
--- a/runtime/vm/service/vmservice.dart
+++ b/runtime/vm/service/vmservice.dart
@@ -7,7 +7,6 @@ library vmservice;
import 'dart:async';
import 'dart:convert';
import 'dart:isolate';
-import 'dart:typed_data';
part 'client.dart';
part 'constants.dart';
@@ -106,8 +105,13 @@ class VMService extends MessageRouter {
}
}
+ void _notSupported(_) {
+ throw new UnimplementedError('Service script loading not supported.');
+ }
+
VMService._internal()
: eventPort = isolateLifecyclePort {
+ scriptLoadPort.handler = _notSupported;
eventPort.handler = messageHandler;
}
« no previous file with comments | « runtime/vm/service.cc ('k') | runtime/vm/unit_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698