Index: client/dom/generated/src/wrapping/_StorageInfoWrappingImplementation.dart |
diff --git a/client/dom/generated/src/wrapping/_StorageInfoWrappingImplementation.dart b/client/dom/generated/src/wrapping/_StorageInfoWrappingImplementation.dart |
index ea6f39ba48469a4b99fe13c29762b0fa7e9adea7..38cff41b28a5fcfa8ae49c566a2b644d58742976 100644 |
--- a/client/dom/generated/src/wrapping/_StorageInfoWrappingImplementation.dart |
+++ b/client/dom/generated/src/wrapping/_StorageInfoWrappingImplementation.dart |
@@ -12,46 +12,16 @@ class _StorageInfoWrappingImplementation extends DOMWrapperBase implements Stora |
} |
void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallback = null, StorageInfoErrorCallback errorCallback = null]) { |
- if (usageCallback === null) { |
- if (errorCallback === null) { |
- _queryUsageAndQuota(this, storageType); |
- return; |
- } |
- } else { |
- if (errorCallback === null) { |
- _queryUsageAndQuota_2(this, storageType, usageCallback); |
- return; |
- } else { |
- _queryUsageAndQuota_3(this, storageType, usageCallback, errorCallback); |
- return; |
- } |
- } |
- throw "Incorrect number or type of arguments"; |
+ _queryUsageAndQuota(this, storageType, usageCallback, errorCallback); |
+ return; |
} |
- static void _queryUsageAndQuota(receiver, storageType) native; |
- static void _queryUsageAndQuota_2(receiver, storageType, usageCallback) native; |
- static void _queryUsageAndQuota_3(receiver, storageType, usageCallback, errorCallback) native; |
+ static void _queryUsageAndQuota(receiver, storageType, usageCallback, errorCallback) native; |
void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallback quotaCallback = null, StorageInfoErrorCallback errorCallback = null]) { |
- if (quotaCallback === null) { |
- if (errorCallback === null) { |
- _requestQuota(this, storageType, newQuotaInBytes); |
- return; |
- } |
- } else { |
- if (errorCallback === null) { |
- _requestQuota_2(this, storageType, newQuotaInBytes, quotaCallback); |
- return; |
- } else { |
- _requestQuota_3(this, storageType, newQuotaInBytes, quotaCallback, errorCallback); |
- return; |
- } |
- } |
- throw "Incorrect number or type of arguments"; |
+ _requestQuota(this, storageType, newQuotaInBytes, quotaCallback, errorCallback); |
+ return; |
} |
- static void _requestQuota(receiver, storageType, newQuotaInBytes) native; |
- static void _requestQuota_2(receiver, storageType, newQuotaInBytes, quotaCallback) native; |
- static void _requestQuota_3(receiver, storageType, newQuotaInBytes, quotaCallback, errorCallback) native; |
+ static void _requestQuota(receiver, storageType, newQuotaInBytes, quotaCallback, errorCallback) native; |
String get typeName() { return "StorageInfo"; } |
} |