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

Unified Diff: sdk/lib/io/io_resource_info.dart

Issue 1680593004: dart:developer service extension fixes (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/io/file_impl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
« no previous file with comments | « sdk/lib/io/file_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698