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

Unified Diff: runtime/bin/file_unsupported.cc

Issue 2685153003: [dart:io] Add new functions to file_unsupported.cc. (Closed)
Patch Set: Created 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file_unsupported.cc
diff --git a/runtime/bin/file_unsupported.cc b/runtime/bin/file_unsupported.cc
index 88e85c6476f4742a73f0a05fd07f4a9f5a885ae3..9196c22b0710fc205359fcd8e64093997a443a44 100644
--- a/runtime/bin/file_unsupported.cc
+++ b/runtime/bin/file_unsupported.cc
@@ -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"));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698