Index: Modules/quota/StorageQuota.idl |
diff --git a/Modules/quota/StorageInfo.idl b/Modules/quota/StorageQuota.idl |
similarity index 74% |
copy from Modules/quota/StorageInfo.idl |
copy to Modules/quota/StorageQuota.idl |
index 328f29b092def3d9191dd79dd3e38dedbf7ad2be..4364f5bc1c46bc6912fd35e1311f2688e66b037c 100644 |
--- a/Modules/quota/StorageInfo.idl |
+++ b/Modules/quota/StorageQuota.idl |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (C) 2011 Google Inc. All rights reserved. |
+ * Copyright (C) 2013 Google Inc. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
@@ -27,10 +27,7 @@ |
Conditional=QUOTA, |
OmitConstructor, |
ImplementationLacksVTable |
-] interface StorageInfo { |
- const unsigned short TEMPORARY = 0; |
- const unsigned short PERSISTENT = 1; |
- |
- [CallWith=ScriptExecutionContext] void queryUsageAndQuota(in unsigned short storageType, in [Callback, Optional] StorageInfoUsageCallback usageCallback, in [Callback, Optional] StorageInfoErrorCallback errorCallback); |
- [CallWith=ScriptExecutionContext] void requestQuota(in unsigned short storageType, in unsigned long long newQuotaInBytes, in [Callback, Optional] StorageInfoQuotaCallback quotaCallback, in [Callback, Optional] StorageInfoErrorCallback errorCallback); |
+] interface StorageQuota { |
+ [CallWith=ScriptExecutionContext] void queryUsageAndQuota(in [Callback] StorageUsageCallback usageCallback, in [Callback, Optional] StorageErrorCallback errorCallback); |
+ [CallWith=ScriptExecutionContext] void requestQuota(in unsigned long long newQuotaInBytes, in [Callback, Optional] StorageQuotaCallback quotaCallback, in [Callback, Optional] StorageErrorCallback errorCallback); |
}; |