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

Side by Side Diff: runtime/bin/vmservice/vmservice_io.dart

Issue 1387043002: Make dart:_vmservice a proper builtin library (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 | « no previous file | runtime/lib/mirrors.cc » ('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) 2013, 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_io; 5 library vmservice_io;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert'; 8 import 'dart:convert';
9 import 'dart:io'; 9 import 'dart:io';
10 import 'dart:isolate'; 10 import 'dart:isolate';
11 import 'dart:vmservice'; 11 import 'dart:_vmservice';
12 12
13 part 'loader.dart'; 13 part 'loader.dart';
14 part 'resources.dart'; 14 part 'resources.dart';
15 part 'server.dart'; 15 part 'server.dart';
16 16
17 // The TCP ip/port that the HTTP server listens on. 17 // The TCP ip/port that the HTTP server listens on.
18 int _port; 18 int _port;
19 String _ip; 19 String _ip;
20 // Should the HTTP server auto start? 20 // Should the HTTP server auto start?
21 bool _autoStart; 21 bool _autoStart;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // else { 97 // else {
98 // var service = new VMService(); 98 // var service = new VMService();
99 // service.onShutdown = _onShutdown; 99 // service.onShutdown = _onShutdown;
100 // } 100 // }
101 scriptLoadPort.handler = _processLoadRequest; 101 scriptLoadPort.handler = _processLoadRequest;
102 // Register signal handler after a small delay to avoid stalling main 102 // Register signal handler after a small delay to avoid stalling main
103 // isolate startup. 103 // isolate startup.
104 new Timer(_shortDelay, _registerSignalHandler); 104 new Timer(_shortDelay, _registerSignalHandler);
105 return scriptLoadPort; 105 return scriptLoadPort;
106 } 106 }
OLDNEW
« no previous file with comments | « no previous file | runtime/lib/mirrors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698