| Index: sdk/lib/io/io_resource_info.dart
|
| diff --git a/sdk/lib/io/io_resource_info.dart b/sdk/lib/io/io_resource_info.dart
|
| index 1a18fc911efa5a1f7ae3277d746e88accea61ce1..92670841b409e733b4355a6d45415c3eff8afab1 100644
|
| --- a/sdk/lib/io/io_resource_info.dart
|
| +++ b/sdk/lib/io/io_resource_info.dart
|
| @@ -112,7 +112,7 @@ class _FileResourceInfo extends _ReadWriteResourceInfo {
|
| }
|
|
|
| static Future<ServiceExtensionResponse> getOpenFiles(function, params) {
|
| - assert(function == '__getOpenFiles');
|
| + assert(function == 'ext.dart.io.getOpenFiles');
|
| var data = {'type': '_openfiles', 'data': getOpenFilesList()};
|
| var json = JSON.encode(data);
|
| return new Future.value(new ServiceExtensionResponse.result(json));
|
| @@ -182,7 +182,7 @@ class _ProcessResourceInfo extends _IOResourceInfo{
|
|
|
| static Future<ServiceExtensionResponse> getStartedProcesses(
|
| String function, Map<String, String> params) {
|
| - assert(function == '__getProcesses');
|
| + assert(function == 'ext.dart.io.getProcesses');
|
| var data = {'type': '_startedprocesses', 'data': getStartedProcessesList()};
|
| var json = JSON.encode(data);
|
| return new Future.value(new ServiceExtensionResponse.result(json));
|
| @@ -264,7 +264,7 @@ class _SocketResourceInfo extends _ReadWriteResourceInfo {
|
| }
|
|
|
| static Future<ServiceExtensionResponse> getOpenSockets(function, params) {
|
| - assert(function == '__getOpenSockets');
|
| + assert(function == 'ext.dart.io.getOpenSockets');
|
| var data = {'type': '_opensockets', 'data': getOpenSocketsList()};
|
| var json = JSON.encode(data);
|
| return new Future.value(new ServiceExtensionResponse.result(json));
|
|
|