Chromium Code Reviews| OLD | NEW |
|---|---|
| 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:collection'; | 8 import 'dart:collection'; |
| 9 import 'dart:convert'; | 9 import 'dart:convert'; |
| 10 import 'dart:io'; | 10 import 'dart:io'; |
| 11 import 'dart:isolate'; | 11 import 'dart:isolate'; |
| 12 import 'dart:typed_data'; | |
|
siva
2016/08/18 16:33:17
There seems to be no change in this file other tha
rmacnak
2016/08/18 17:30:59
For 'is UInt8List'
| |
| 12 import 'dart:_vmservice'; | 13 import 'dart:_vmservice'; |
| 13 | 14 |
| 14 part 'loader.dart'; | 15 part 'loader.dart'; |
| 15 part 'server.dart'; | 16 part 'server.dart'; |
| 16 | 17 |
| 17 // The TCP ip/port that the HTTP server listens on. | 18 // The TCP ip/port that the HTTP server listens on. |
| 18 int _port; | 19 int _port; |
| 19 String _ip; | 20 String _ip; |
| 20 // Should the HTTP server auto start? | 21 // Should the HTTP server auto start? |
| 21 bool _autoStart; | 22 bool _autoStart; |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 214 Timer.run(() {}); | 215 Timer.run(() {}); |
| 215 } | 216 } |
| 216 scriptLoadPort.handler = _processLoadRequest; | 217 scriptLoadPort.handler = _processLoadRequest; |
| 217 // Register signal handler after a small delay to avoid stalling main | 218 // Register signal handler after a small delay to avoid stalling main |
| 218 // isolate startup. | 219 // isolate startup. |
| 219 _registerSignalHandlerTimer = new Timer(shortDelay, _registerSignalHandler); | 220 _registerSignalHandlerTimer = new Timer(shortDelay, _registerSignalHandler); |
| 220 return scriptLoadPort; | 221 return scriptLoadPort; |
| 221 } | 222 } |
| 222 | 223 |
| 223 _shutdown() native "VMServiceIO_Shutdown"; | 224 _shutdown() native "VMServiceIO_Shutdown"; |
| OLD | NEW |