Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Unified Diff: Modules/quota/StorageQuota.idl

Issue 12893011: Update idl files in third_party/WebCore (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
};

Powered by Google App Engine
This is Rietveld 408576698