Index: client/html/generated/html/dartium/StorageInfo.dart |
diff --git a/client/html/generated/html/dartium/StorageInfo.dart b/client/html/generated/html/dartium/StorageInfo.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ca74863824ec2b8386ca8c00059f7ba7c7f68de1 |
--- /dev/null |
+++ b/client/html/generated/html/dartium/StorageInfo.dart |
@@ -0,0 +1,40 @@ |
+ |
+class _StorageInfoImpl extends _DOMTypeBase implements StorageInfo { |
+ _StorageInfoImpl._wrap(ptr) : super._wrap(ptr); |
+ |
+ void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallback = null, StorageInfoErrorCallback errorCallback = null]) { |
+ if (usageCallback === null) { |
+ if (errorCallback === null) { |
+ _ptr.queryUsageAndQuota(_unwrap(storageType)); |
+ return; |
+ } |
+ } else { |
+ if (errorCallback === null) { |
+ _ptr.queryUsageAndQuota(_unwrap(storageType), _unwrap(usageCallback)); |
+ return; |
+ } else { |
+ _ptr.queryUsageAndQuota(_unwrap(storageType), _unwrap(usageCallback), _unwrap(errorCallback)); |
+ return; |
+ } |
+ } |
+ throw "Incorrect number or type of arguments"; |
+ } |
+ |
+ void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallback quotaCallback = null, StorageInfoErrorCallback errorCallback = null]) { |
+ if (quotaCallback === null) { |
+ if (errorCallback === null) { |
+ _ptr.requestQuota(_unwrap(storageType), _unwrap(newQuotaInBytes)); |
+ return; |
+ } |
+ } else { |
+ if (errorCallback === null) { |
+ _ptr.requestQuota(_unwrap(storageType), _unwrap(newQuotaInBytes), _unwrap(quotaCallback)); |
+ return; |
+ } else { |
+ _ptr.requestQuota(_unwrap(storageType), _unwrap(newQuotaInBytes), _unwrap(quotaCallback), _unwrap(errorCallback)); |
+ return; |
+ } |
+ } |
+ throw "Incorrect number or type of arguments"; |
+ } |
+} |