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

Unified Diff: client/dom/generated/src/wrapping/_DirectoryEntryWrappingImplementation.dart

Issue 9615032: Refresh dom_frog. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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
Index: client/dom/generated/src/wrapping/_DirectoryEntryWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_DirectoryEntryWrappingImplementation.dart b/client/dom/generated/src/wrapping/_DirectoryEntryWrappingImplementation.dart
index f004f50a3de5bc355d64d864e0aba0f58181f4e9..767066d28610b25047855f4eaf69e1156a1e3f81 100644
--- a/client/dom/generated/src/wrapping/_DirectoryEntryWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_DirectoryEntryWrappingImplementation.dart
@@ -17,16 +17,38 @@ class _DirectoryEntryWrappingImplementation extends _EntryWrappingImplementation
static DirectoryReader _createReader(receiver) native;
void getDirectory(String path, [Object flags = null, EntryCallback successCallback = null, ErrorCallback errorCallback = null]) {
- _getDirectory(this, path, flags, successCallback, errorCallback);
- return;
+ if (flags === null) {
+ if (successCallback === null) {
+ if (errorCallback === null) {
+ _getDirectory(this, path);
+ return;
+ }
+ }
+ } else {
+ _getDirectory_2(this, path, flags, successCallback, errorCallback);
+ return;
+ }
+ throw "Incorrect number or type of arguments";
}
- static void _getDirectory(receiver, path, flags, successCallback, errorCallback) native;
+ static void _getDirectory(receiver, path) native;
+ static void _getDirectory_2(receiver, path, flags, successCallback, errorCallback) native;
void getFile(String path, [Object flags = null, EntryCallback successCallback = null, ErrorCallback errorCallback = null]) {
- _getFile(this, path, flags, successCallback, errorCallback);
- return;
+ if (flags === null) {
+ if (successCallback === null) {
+ if (errorCallback === null) {
+ _getFile(this, path);
+ return;
+ }
+ }
+ } else {
+ _getFile_2(this, path, flags, successCallback, errorCallback);
+ return;
+ }
+ throw "Incorrect number or type of arguments";
}
- static void _getFile(receiver, path, flags, successCallback, errorCallback) native;
+ static void _getFile(receiver, path) native;
+ static void _getFile_2(receiver, path, flags, successCallback, errorCallback) native;
void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallback = null]) {
_removeRecursively(this, successCallback, errorCallback);

Powered by Google App Engine
This is Rietveld 408576698