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

Unified Diff: runtime/bin/directory_patch.dart

Issue 2230383003: Implement @patch annotation for patch class members (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: wip Created 4 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/common_patch.dart ('k') | runtime/bin/eventhandler_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/directory_patch.dart
diff --git a/runtime/bin/directory_patch.dart b/runtime/bin/directory_patch.dart
index c5031614ad85a6b286ae3213bac53b2c84b5fe1e..2518283df23a15a2ed3dc91715eb57e04339b910 100644
--- a/runtime/bin/directory_patch.dart
+++ b/runtime/bin/directory_patch.dart
@@ -3,24 +3,24 @@
// BSD-style license that can be found in the LICENSE file.
@patch class _Directory {
- /* @patch */ static _current() native "Directory_Current";
- /* @patch */ static _setCurrent(path) native "Directory_SetCurrent";
- /* @patch */ static _createTemp(String path) native "Directory_CreateTemp";
- /* @patch */ static String _systemTemp() native "Directory_SystemTemp";
- /* @patch */ static _exists(String path) native "Directory_Exists";
- /* @patch */ static _create(String path) native "Directory_Create";
- /* @patch */ static _deleteNative(String path, bool recursive)
+ @patch static _current() native "Directory_Current";
+ @patch static _setCurrent(path) native "Directory_SetCurrent";
+ @patch static _createTemp(String path) native "Directory_CreateTemp";
+ @patch static String _systemTemp() native "Directory_SystemTemp";
+ @patch static _exists(String path) native "Directory_Exists";
+ @patch static _create(String path) native "Directory_Create";
+ @patch static _deleteNative(String path, bool recursive)
native "Directory_Delete";
- /* @patch */ static _rename(String path, String newPath)
+ @patch static _rename(String path, String newPath)
native "Directory_Rename";
- /* @patch */ static void _fillWithDirectoryListing(
+ @patch static void _fillWithDirectoryListing(
List<FileSystemEntity> list, String path, bool recursive,
bool followLinks)
native "Directory_FillWithDirectoryListing";
}
@patch class _AsyncDirectoryListerOps {
- /* @patch */ factory _AsyncDirectoryListerOps(int pointer) =>
+ @patch factory _AsyncDirectoryListerOps(int pointer) =>
new _AsyncDirectoryListerOpsImpl(pointer);
}
« no previous file with comments | « runtime/bin/common_patch.dart ('k') | runtime/bin/eventhandler_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698