Index: runtime/bin/directory.cc |
diff --git a/runtime/bin/directory.cc b/runtime/bin/directory.cc |
index 8455c39fb5e345fa1b2da7fd2b25cb63ccbbd7a9..9f8252741db1a8781833b245719ed7d3a0943ab4 100644 |
--- a/runtime/bin/directory.cc |
+++ b/runtime/bin/directory.cc |
@@ -298,24 +298,18 @@ CObjectArray* DirectoryListing::NewResponse(Response type, char* arg) { |
bool DirectoryListing::HandleDirectory(char* dir_name) { |
- // TODO(sgjesse): Pass flags to indicate whether directory |
- // responses are needed. |
CObjectArray* response = NewResponse(kListDirectory, dir_name); |
return Dart_PostCObject(response_port_, response->AsApiCObject()); |
} |
bool DirectoryListing::HandleFile(char* file_name) { |
- // TODO(sgjesse): Pass flags to indicate whether file |
- // responses are needed. |
CObjectArray* response = NewResponse(kListFile, file_name); |
return Dart_PostCObject(response_port_, response->AsApiCObject()); |
} |
bool DirectoryListing::HandleError(const char* dir_name) { |
- // TODO(sgjesse): Pass flags to indicate whether error |
- // responses are needed. |
CObject* err = CObject::NewOSError(); |
CObjectArray* response = new CObjectArray(CObject::NewArray(3)); |
response->SetAt(0, new CObjectInt32(CObject::NewInt32(kListError))); |