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

Side by Side Diff: sdk/lib/vmservice/vmservice.dart

Issue 1396603002: Properly split dart:_vmservice across sdk and runtime (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « sdk/lib/vmservice/running_isolates.dart ('k') | sdk/lib/vmservice/vmservice_sources.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library vmservice; 5 library dart._vmservice;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert'; 8 import 'dart:convert';
9 import 'dart:isolate'; 9 import 'dart:isolate';
10 import 'dart:typed_data'; 10 import 'dart:typed_data';
11 11
12 part 'client.dart'; 12 part 'client.dart';
13 part 'constants.dart'; 13 part 'constants.dart';
14 part 'running_isolate.dart'; 14 part 'running_isolate.dart';
15 part 'running_isolates.dart'; 15 part 'running_isolates.dart';
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 RawReceivePort boot() { 315 RawReceivePort boot() {
316 // Return the port we expect isolate startup and shutdown messages on. 316 // Return the port we expect isolate startup and shutdown messages on.
317 return isolateLifecyclePort; 317 return isolateLifecyclePort;
318 } 318 }
319 319
320 void _registerIsolate(int port_id, SendPort sp, String name) { 320 void _registerIsolate(int port_id, SendPort sp, String name) {
321 var service = new VMService(); 321 var service = new VMService();
322 service.runningIsolates.isolateStartup(port_id, sp, name); 322 service.runningIsolates.isolateStartup(port_id, sp, name);
323 } 323 }
324 324
325 void _onStart() native "VMService_OnStart"; 325 external void _onStart();
326 326
327 void _onExit() native "VMService_OnExit"; 327 external void _onExit();
328 328
329 bool _vmListenStream(String streamId) native "VMService_ListenStream"; 329 external bool _vmListenStream(String streamId);
330 330
331 void _vmCancelStream(String streamId) native "VMService_CancelStream"; 331 external void _vmCancelStream(String streamId);
332
OLDNEW
« no previous file with comments | « sdk/lib/vmservice/running_isolates.dart ('k') | sdk/lib/vmservice/vmservice_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698