[dart:io] Add new functions to file_unsupported.cc.

Review-Url: https://codereview.chromium.org/2685153003 .
This commit is contained in:
Zachary Anderson 2017-02-09 09:58:30 -08:00
parent 3f5458cdcb
commit a4c42824ed

View file

@ -108,6 +108,24 @@ void FUNCTION_NAME(File_LastModified)(Dart_NativeArguments args) {
}
void FUNCTION_NAME(File_LastAccessed)(Dart_NativeArguments args) {
Dart_ThrowException(
DartUtils::NewInternalError("File is not supported on this platform"));
}
void FUNCTION_NAME(File_SetLastModified)(Dart_NativeArguments args) {
Dart_ThrowException(
DartUtils::NewInternalError("File is not supported on this platform"));
}
void FUNCTION_NAME(File_SetLastAccessed)(Dart_NativeArguments args) {
Dart_ThrowException(
DartUtils::NewInternalError("File is not supported on this platform"));
}
void FUNCTION_NAME(File_Flush)(Dart_NativeArguments args) {
Dart_ThrowException(
DartUtils::NewInternalError("File is not supported on this platform"));