Index: third_party/WebKit/Source/modules/quota/StorageQuota.idl |
diff --git a/third_party/WebKit/Source/modules/quota/StorageQuota.idl b/third_party/WebKit/Source/modules/quota/StorageQuota.idl |
index a94e33510d25d214345b9ff27e6e12dbf0d1dbcf..08be39255b418a4e81e605487a981f89482445ba 100644 |
--- a/third_party/WebKit/Source/modules/quota/StorageQuota.idl |
+++ b/third_party/WebKit/Source/modules/quota/StorageQuota.idl |
@@ -28,15 +28,21 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// https://w3c.github.io/quota-api/#storagetype-enum |
+ |
enum StorageType { |
"temporary", |
"persistent" |
}; |
+// https://w3c.github.io/quota-api/#storagequota-interface |
+ |
[ |
NoInterfaceObject, |
RuntimeEnabled=QuotaPromise |
] interface StorageQuota { |
+ // TODO(nhiroki): |supportedTypes| should be FrozenArray<StorageType>. |
jsbell
2016/10/03 16:41:47
You can give this one to me.
foolip
2016/10/04 10:02:20
Done.
|
+ // https://github.com/w3c/quota-api/issues/5 |
readonly attribute StorageType[] supportedTypes; |
[CallWith=ScriptState] Promise queryInfo(StorageType type); |
[CallWith=ScriptState] Promise requestPersistentQuota([Clamp] unsigned long long newQuota); |