OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 service_io; | 5 library service_io; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:io'; | 8 import 'dart:io'; |
9 import 'dart:typed_data'; | 9 import 'dart:typed_data'; |
10 | 10 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 data.lengthInBytes)); | 57 data.lengthInBytes)); |
58 } | 58 } |
59 } | 59 } |
60 | 60 |
61 /// The [WebSocketVM] communicates with a Dart VM over WebSocket. The Dart VM | 61 /// The [WebSocketVM] communicates with a Dart VM over WebSocket. The Dart VM |
62 /// can be embedded in Chromium or standalone. In the case of Chromium, we | 62 /// can be embedded in Chromium or standalone. In the case of Chromium, we |
63 /// make the service requests via the Chrome Remote Debugging Protocol. | 63 /// make the service requests via the Chrome Remote Debugging Protocol. |
64 class WebSocketVM extends CommonWebSocketVM { | 64 class WebSocketVM extends CommonWebSocketVM { |
65 WebSocketVM(WebSocketVMTarget target) : super(target, new _IOWebSocket()); | 65 WebSocketVM(WebSocketVMTarget target) : super(target, new _IOWebSocket()); |
66 } | 66 } |
OLD | NEW |