OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 class _StorageInfoWrappingImplementation extends DOMWrapperBase implements Stora
geInfo { | |
8 _StorageInfoWrappingImplementation() : super() {} | |
9 | |
10 static create__StorageInfoWrappingImplementation() native { | |
11 return new _StorageInfoWrappingImplementation(); | |
12 } | |
13 | |
14 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba
ck = null, StorageInfoErrorCallback errorCallback = null]) { | |
15 _queryUsageAndQuota(this, storageType, usageCallback, errorCallback); | |
16 return; | |
17 } | |
18 static void _queryUsageAndQuota(receiver, storageType, usageCallback, errorCal
lback) native; | |
19 | |
20 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb
ack quotaCallback = null, StorageInfoErrorCallback errorCallback = null]) { | |
21 _requestQuota(this, storageType, newQuotaInBytes, quotaCallback, errorCallba
ck); | |
22 return; | |
23 } | |
24 static void _requestQuota(receiver, storageType, newQuotaInBytes, quotaCallbac
k, errorCallback) native; | |
25 | |
26 String get typeName() { return "StorageInfo"; } | |
27 } | |
OLD | NEW |