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

Unified Diff: runtime/bin/file_system_entity_patch.dart

Issue 3001963002: [dart:io] Namespaces for file IO (Closed)
Patch Set: Fuchsia fix Created 3 years, 4 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 | « runtime/bin/file_patch.dart ('k') | runtime/bin/file_system_watcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file_system_entity_patch.dart
diff --git a/runtime/bin/file_system_entity_patch.dart b/runtime/bin/file_system_entity_patch.dart
index f173adde79516283e04b9f04f7e7086e2f9c3fea..9b90a64783c10cb3f1a15aafa376d81edd578a22 100644
--- a/runtime/bin/file_system_entity_patch.dart
+++ b/runtime/bin/file_system_entity_patch.dart
@@ -5,15 +5,18 @@
@patch
class FileStat {
@patch
- static _statSync(String path) native "File_Stat";
+ static _statSync(_Namespace namespace, String path) native "File_Stat";
}
@patch
class FileSystemEntity {
@patch
- static _getType(String path, bool followLinks) native "File_GetType";
+ static _getType(_Namespace namespace, String path, bool followLinks)
+ native "File_GetType";
@patch
- static _identical(String path1, String path2) native "File_AreIdentical";
+ static _identical(_Namespace namespace, String path1, String path2)
+ native "File_AreIdentical";
@patch
- static _resolveSymbolicLinks(String path) native "File_ResolveSymbolicLinks";
+ static _resolveSymbolicLinks(_Namespace namespace, String path)
+ native "File_ResolveSymbolicLinks";
}
« no previous file with comments | « runtime/bin/file_patch.dart ('k') | runtime/bin/file_system_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698